#include "wx/window.h"
#include "wx/toolbar.h"
+
+#if wxUSE_ACCEL
#include "wx/accel.h"
+#endif
WXDLLEXPORT_DATA(extern const char*) wxFrameNameStr;
WXDLLEXPORT_DATA(extern const char*) wxToolBarNameStr;
void ClientToScreen(int *x, int *y) const;
void ScreenToClient(int *x, int *y) const;
- virtual bool OnClose();
-
void OnSize(wxSizeEvent& event);
void OnMenuHighlight(wxMenuEvent& event);
void OnActivate(wxActivateEvent& event);
// Compatibility
inline bool Iconized() const { return IsIconized(); }
+ // Is the frame maximized?
+ virtual bool IsMaximized(void) const ;
+
virtual void Maximize(bool maximize);
// Responds to colour changes
// Query app for menu item updates (called from OnIdle)
void DoMenuUpdates();
- void DoMenuUpdates(wxMenu* menu);
+ void DoMenuUpdates(wxMenu* menu, wxWindow* focusWin);
// Checks if there is a toolbar, and returns the first free client position
virtual wxPoint GetClientAreaOrigin() const;