X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9b1d6c8ddc0e923c368529efb0e011edeec44e6..24f4ad95920746ebc6cfc6f2ab86f65fb53345ca:/include/wx/os2/toplevel.h?ds=sidebyside diff --git a/include/wx/os2/toplevel.h b/include/wx/os2/toplevel.h index c52efb6642..b45053a862 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 @@ -84,6 +86,11 @@ public: // -------------------------- // PSWP GetSwpClient(void) { return &m_vSwpClient; } + + void OnActivate(wxActivateEvent& rEvent); + + void SetLastFocus(wxWindow *pWin) { m_pWinLastFocused = pWin; } + wxWindow* GetLastFocus(void) const { return m_pWinLastFocused; } protected: // // Common part of all ctors @@ -129,6 +136,12 @@ protected: virtual WXDWORD OS2GetStyle( long lFlag ,WXDWORD* pdwExstyle ) const; + + // + // Choose the right parent to use with CreateWindow() + // + virtual WXHWND OS2GetParent(void) const; + // // Is the frame currently iconized? // @@ -149,10 +162,15 @@ protected: bool m_bFsIsMaximized; bool m_bFsIsShowing; + wxWindow* m_pWinLastFocused; + WXHWND m_hFrame; SWP m_vSwp; SWP m_vSwpClient; static bool m_sbInitialized; + static wxWindow* m_spHiddenParent; + + DECLARE_EVENT_TABLE() }; // end of CLASS wxTopLevelWindowOS2 //