X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b7735e10f1f9dc889c9817a8066ef34e399328f..6b0d8a01d184b8d410238677b2cfc0e3059e1268:/include/wx/os2/toplevel.h diff --git a/include/wx/os2/toplevel.h b/include/wx/os2/toplevel.h index a54b9d9602..d0e1a3e469 100644 --- a/include/wx/os2/toplevel.h +++ b/include/wx/os2/toplevel.h @@ -67,6 +67,8 @@ public: virtual void Restore(void); virtual void SendSizeEvent(void); virtual void SetIcon(const wxIcon& rIcon); + virtual void SetIcons(const wxIconBundle& rIcons); + virtual bool Show(bool bShow = TRUE); virtual bool ShowFullScreen( bool bShow ,long lStyle = wxFULLSCREEN_ALL @@ -124,12 +126,16 @@ protected: ) const; // - // Get the OS/2 window flags corresponding to wxWindows ones + // Translate wxWindows flags into OS flags + // + virtual WXDWORD OS2GetStyle( long lFlag + ,WXDWORD* pdwExstyle + ) const; + // - // The functions returns the flags (WS_XXX) directly and puts the ext - // (WS_EX_XXX) flags into the provided pointer if not NULL + // Choose the right parent to use with CreateWindow() // - long OS2GetCreateWindowFlags(long* lExflags) const; + virtual WXHWND OS2GetParent(void) const; // // Is the frame currently iconized? @@ -155,6 +161,7 @@ protected: SWP m_vSwp; SWP m_vSwpClient; static bool m_sbInitialized; + static wxWindow* m_spHiddenParent; }; // end of CLASS wxTopLevelWindowOS2 //