win32: fix parent HWND of canvas%

Merge to 5.1

original commit: 6b1112a9adad14b4bb4fd49431697a493b781622
This commit is contained in:
Matthew Flatt 2011-02-09 12:23:14 -07:00
parent ebaef0c71b
commit f5eb37ea09

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))