X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06519806e3f197125ef0609752088272a345b2db..4b6b4dfcf48af89d910df5a21786fbcd02db8c97:/include/wx/os2/window.h diff --git a/include/wx/os2/window.h b/include/wx/os2/window.h index 6508c25f6e..15267db307 100644 --- a/include/wx/os2/window.h +++ b/include/wx/os2/window.h @@ -23,6 +23,13 @@ #include +// --------------------------------------------------------------------------- +// forward declarations +// --------------------------------------------------------------------------- +#ifndef CW_USEDEFAULT +# define CW_USEDEFAULT ((int)0x80000000) +#endif + // --------------------------------------------------------------------------- // forward declarations // --------------------------------------------------------------------------- @@ -247,21 +254,15 @@ public: virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return FALSE; }; // returns TRUE if the window has been created - bool OS2Create( WXHWND hParent - ,PSZ zClass - ,const wxChar* zTitle - ,WXDWORD dwStyle - ,long lX - ,long lY - ,long lWidth - ,long lHeight - ,WXHWND hOwner - ,WXHWND hZOrder - ,unsigned long lId - ,void* pCtlData = NULL - ,void* pPresParams = NULL - ,WXDWORD dwExStyle = 0L - ); + bool OS2Create( PSZ zClass + ,const char* zTitle + ,WXDWORD dwStyle + ,const wxPoint& rPos + ,const wxSize& rSize + ,void* pCtlData + ,WXDWORD dwExStyle + ,bool bIsChild + ); virtual bool OS2Command( WXUINT uParam ,WXWORD nId );