X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/849949b13fa19002da52333e760ebfecd00c60d9..d422d01eec769f5339087b4b3ad352d3d164bf1b:/include/wx/os2/window.h diff --git a/include/wx/os2/window.h b/include/wx/os2/window.h index 2b5dea9483..f4b1798468 100644 --- a/include/wx/os2/window.h +++ b/include/wx/os2/window.h @@ -146,6 +146,7 @@ public: // same as DoSetSize() for the client size virtual void DoSetClientSize(int width, int height); virtual bool DoPopupMenu( wxMenu *menu, int x, int y ); + virtual WXWidget GetHandle() const; // --------------------------------------------------------------------------- // wxWindowBase virtual implementations that need to be overriden @@ -216,6 +217,7 @@ public: // on a listbox) virtual void OnDefaultAction(wxControl *initiatingItem); + // EventHandlers void OnEraseBackground(wxEraseEvent& event); void OnChar(wxKeyEvent& event); void OnKeyDown(wxKeyEvent& event); @@ -283,8 +285,10 @@ public: DECLARE_EVENT_TABLE() private: - void Init(); - void PMDetachWindowMenu(); + void Init(); + void PMDetachWindowMenu(); + WXHWND GetHwnd() const { return m_hWnd; } + void SetHwnd(WXHWND hWnd) { m_hWnd = hWnd; } }; ////////////////////////////////////////////////////////////////////////