]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statline.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / os2 / statline.cpp
index 687c060f001420f7089965570320b2e6ab34c32f..a91dfa300b6fc7eec4bc2b4b093ed07fc562f9a9 100644 (file)
@@ -67,10 +67,10 @@ bool wxStaticLine::Create(
                                        ,WC_STATIC
                                        ,""
                                        ,WS_VISIBLE | SS_TEXT | DT_VCENTER | DT_CENTER
-                                       ,rPos.x
-                                       ,rPos.y
-                                       ,vSizeReal.x
-                                       ,vSizeReal.y
+                                       ,0
+                                       ,0
+                                       ,0
+                                       ,0
                                        ,GetWinHwnd(pParent)
                                        ,HWND_TOP
                                        ,(ULONG)m_windowId
@@ -83,6 +83,11 @@ bool wxStaticLine::Create(
         return FALSE;
     }
     SubclassWin(m_hWnd);
+    SetSize( rPos.x
+            ,rPos.y
+            ,rSize.x
+            ,rSize.y
+           );
     return TRUE;
 } // end of wxStaticLine::Create