win32: fix parent HWND of canvas%

Merge to 5.1
(cherry picked from commit 6b1112a9ad)
This commit is contained in:
Matthew Flatt 2011-02-09 12:23:14 -07:00 committed by Ryan Culpepper
parent 98dd05c6d3
commit 0707a3f954

View File

@ -116,7 +116,7 @@
(if hscroll? WS_HSCROLL 0) (if hscroll? WS_HSCROLL 0)
(if vscroll? WS_VSCROLL 0)) (if vscroll? WS_VSCROLL 0))
0 0 w h 0 0 w h
(or panel-hwnd (send parent get-hwnd)) (or panel-hwnd (send parent get-client-hwnd))
#f #f
hInstance hInstance
#f)) #f))