X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..ef8698d677c97b2d662ee1c5adbdaadf58103e0e:/include/wx/os2/frame.h diff --git a/include/wx/os2/frame.h b/include/wx/os2/frame.h index 94fe07be61..67a9dc775b 100644 --- a/include/wx/os2/frame.h +++ b/include/wx/os2/frame.h @@ -102,7 +102,6 @@ public: #endif // wxUSE_STATUSBAR WXHMENU GetWinMenu() const { return m_hMenu; } - WXHWND GetFrame() const { return m_hFrame; } // Returns the origin of client area (may be different from (0,0) if the // frame has a toolbar) @@ -141,6 +140,10 @@ public: void SetToolTipCtrl(WXHWND hHwndTT) { m_hWndToolTip = hHwndTT; } #endif // tooltips + void SetClient(WXHWND c_Hwnd); + void SetClient(wxWindow* c_Window); + wxWindow *GetClient(); + protected: // common part of all ctors void Init(void); @@ -197,19 +200,14 @@ protected: int m_nFsToolBarHeight; bool m_bFsIsMaximized; bool m_bFsIsShowing; + bool m_bIsShown; + wxWindow* m_pWinLastFocused; private: #if wxUSE_TOOLTIPS WXHWND m_hWndToolTip; #endif // tooltips - // - // The main handle of a frame window, that used for message processing - // is the client handle under PM. But we still need the frame handle - // as well - // - WXHWND m_hFrame; - // // Handles to child windows of the Frame that we don't have child objects for //