X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4f25aef35e0fce933eb3600cf68f3a0fc06fe96..15d521a109c4de5b2e18bb7b953bfedd5505a1ee:/include/wx/msw/frame.h?ds=sidebyside diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 109be748ee..b90e37d8b0 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -5,8 +5,8 @@ // Modified by: // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_FRAME_H_ @@ -56,7 +56,7 @@ public: // Toolbar #if wxUSE_TOOLBAR - virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT, + virtual wxToolBar* CreateToolBar(long style = -1, wxWindowID id = -1, const wxString& name = wxToolBarNameStr); @@ -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,6 +134,9 @@ protected: // window proc for the frames long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + // handle WM_INITMENUPOPUP message + bool HandleInitMenuPopup(WXHMENU hMenu); + virtual bool IsMDIChild() const { return FALSE; } // get default (wxWindows) icon for the frame @@ -146,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;