X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9dae7798b164a5f4abc85d16f49cabd4e0980c0..2f552802877a78b58e6c251466b70a10653aa585:/include/wx/msw/frame.h diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 2416b22a68..b90e37d8b0 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -102,6 +102,12 @@ public: // current size - this has an effect of refreshing the window layout virtual void SendSizeEvent(); +#ifdef __WXWINCE__ + WXHWND GetCommandBar() { return m_commandBar; } + WXHWND CreateCommandBar() ; + void RemoveCommandBar() ; +#endif + protected: // common part of all ctors void Init(); @@ -128,8 +134,8 @@ protected: // window proc for the frames long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - // handle WM_INITMENU message - bool HandleInitMenu(); + // handle WM_INITMENUPOPUP message + bool HandleInitMenuPopup(WXHMENU hMenu); virtual bool IsMDIChild() const { return FALSE; } @@ -149,6 +155,9 @@ private: #if wxUSE_TOOLTIPS WXHWND m_hwndToolTip; #endif // tooltips +#ifdef __WXWINCE__ + WXHWND m_commandBar; +#endif // used by IconizeChildFrames(), see comments there bool m_wasMinimized;