]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
fix for unicode crashes by Dimitri
[wxWidgets.git] / src / os2 / control.cpp
index 35551cb4b4b1b0c65a730f2dae8531a34bcf48c1..acf4cecf2c4e13dd507e13e2917e124de4c97daa 100644 (file)
@@ -141,10 +141,10 @@ bool wxControl::OS2CreateControl(
                                        ,(PSZ)zClassname              // Window class
                                        ,(PSZ)rsLabel.c_str()         // Initial Text
                                        ,(ULONG)dwStyle               // Style flags
-                                       ,(LONG)rPos.x                 // X pos of origin
-                                       ,(LONG)rPos.y                 // Y pos of origin
-                                       ,(LONG)rSize.x                // control width
-                                       ,(LONG)rSize.y                // control height
+                                       ,(LONG)0                      // X pos of origin
+                                       ,(LONG)0                      // Y pos of origin
+                                       ,(LONG)0                      // control width
+                                       ,(LONG)0                      // control height
                                        ,(HWND)GetHwndOf(GetParent()) // owner window handle (same as parent
                                        ,HWND_TOP                     // initial z position
                                        ,(ULONG)GetId()               // Window identifier