// 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();
// 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; }
#if wxUSE_TOOLTIPS
WXHWND m_hwndToolTip;
#endif // tooltips
+#ifdef __WXWINCE__
+ WXHWND m_commandBar;
+#endif
// used by IconizeChildFrames(), see comments there
bool m_wasMinimized;