X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/076d1afa4e887ad810f5b5134ec035f2317bea67..1b0fb34be895a9596131233edd1bf68b10c052b4:/include/wx/os2/toplevel.h diff --git a/include/wx/os2/toplevel.h b/include/wx/os2/toplevel.h index 8f49bb12fe..2557c3981f 100644 --- a/include/wx/os2/toplevel.h +++ b/include/wx/os2/toplevel.h @@ -16,7 +16,7 @@ #pragma interface "toplevel.h" #endif -enum ETemplateID { kResizeableDialog = 1000 +enum ETemplateID { kResizeableDialog = 127 ,kCaptionDialog ,kNoCaptionDialog }; @@ -65,6 +65,7 @@ public: virtual bool IsMaximized(void) const; virtual void Maximize(bool bMaximize = TRUE); virtual void Restore(void); + virtual void SendSizeEvent(void); virtual void SetIcon(const wxIcon& rIcon); virtual bool Show(bool bShow = TRUE); virtual bool ShowFullScreen( bool bShow @@ -84,8 +85,10 @@ public: // virtual void AlterChildPos(void); // OS/2 child control positioning virtual void UpdateInternalSize( wxWindow* pChild + ,int nWidth ,int nHeight ); + PSWP GetSwpClient(void) { return &m_vSwpClient; } protected: // // Common part of all ctors @@ -156,6 +159,7 @@ protected: WXHWND m_hFrame; SWP m_vSwp; SWP m_vSwpClient; + static bool m_sbInitialized; }; // end of CLASS wxTopLevelWindowOS2 //