win32: fix parent HWND of canvas%

Merge to 5.1
This commit is contained in:
Matthew Flatt 2011-02-09 12:23:14 -07:00
parent f4a881f0e3
commit 6b1112a9ad

View File

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