X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45e0dc94770d598a1cc84d83730d470dd1cfbcca..65e508482777277c429b8c522e1ff8050ff5cdc7:/include/wx/os2/toplevel.h?ds=sidebyside diff --git a/include/wx/os2/toplevel.h b/include/wx/os2/toplevel.h index 2557c3981f..4224ed63b7 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); + inline virtual void SetIcons(const wxIconBundle& icons) { SetIcon( icons.GetIcon( -1 ) ); } + virtual bool Show(bool bShow = TRUE); virtual bool ShowFullScreen( bool bShow ,long lStyle = wxFULLSCREEN_ALL @@ -83,11 +85,6 @@ public: // Implementation from now on // -------------------------- // - 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: // @@ -129,13 +126,11 @@ protected: ) const; // - // Get the OS/2 window flags corresponding to wxWindows ones - // - // The functions returns the flags (WS_XXX) directly and puts the ext - // (WS_EX_XXX) flags into the provided pointer if not NULL + // Translate wxWindows flags into OS flags // - long OS2GetCreateWindowFlags(long* lExflags) const; - + virtual WXDWORD OS2GetStyle( long lFlag + ,WXDWORD* pdwExstyle + ) const; // // Is the frame currently iconized? //