X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..91b4bd63177025704dd39679a2a7c4198eeb7909:/src/os2/statline.cpp?ds=sidebyside diff --git a/src/os2/statline.cpp b/src/os2/statline.cpp index 687c060f00..a91dfa300b 100644 --- a/src/os2/statline.cpp +++ b/src/os2/statline.cpp @@ -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