// if the frame has a toolbar) in client coordinates
virtual wxPoint GetClientAreaOrigin() const;
- // sends a size event to the window using its current size -- this has an
- // effect of refreshing the window layout
- virtual void SendSizeEvent();
// menu bar functions
// ------------------
// find the item by id in the frame menu bar: this is an internal function
// and exists mainly in order to be overridden in the MDI parent frame
// which also looks at its active child menu bar
- virtual const wxMenuItem *FindItemInMenuBar(int menuId) const;
+ virtual wxMenuItem *FindItemInMenuBar(int menuId) const;
// generate menu command corresponding to the given menu item
//
DECLARE_EVENT_TABLE()
#endif // wxUSE_MENUS && wxUSE_STATUSBAR
- DECLARE_NO_COPY_CLASS(wxFrameBase)
+ wxDECLARE_NO_COPY_CLASS(wxFrameBase);
};
// include the real class declaration