X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5526d3613532a662f65b108007e5fef14c2e940..27a97d02eb2f3dcf031c5cbcd3c1321c6d35fce8:/include/wx/os2/frame.h?ds=inline diff --git a/include/wx/os2/frame.h b/include/wx/os2/frame.h index 67a9dc775b..dc64bf4ae7 100644 --- a/include/wx/os2/frame.h +++ b/include/wx/os2/frame.h @@ -143,6 +143,10 @@ public: void SetClient(WXHWND c_Hwnd); void SetClient(wxWindow* c_Window); wxWindow *GetClient(); + HWND GetFrame(void) const { return m_hFrame; } + + friend MRESULT EXPENTRY wxFrameWndProc(HWND hWnd,ULONG ulMsg, MPARAM wParam, MPARAM lParam); + friend MRESULT EXPENTRY wxFrameMainWndProc(HWND hWnd,ULONG ulMsg, MPARAM wParam, MPARAM lParam); protected: // common part of all ctors @@ -209,8 +213,11 @@ private: #endif // tooltips // - // Handles to child windows of the Frame that we don't have child objects for + // Handles to child windows of the Frame, and the frame itself, + // that we don't have child objects for (m_hWnd in wxWindow is the + // handle of the Frame's client window! // + WXHWND m_hFrame; WXHWND m_hTitleBar; WXHWND m_hHScroll; WXHWND m_hVScroll;