X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/87d1e11fd413212a7eacc745bf28a583cc63e65b..cd9da200285e3c625be91768c9ca61dc218c94d0:/include/wx/stubs/frame.h diff --git a/include/wx/stubs/frame.h b/include/wx/stubs/frame.h index fcd8689e56..64ec0d6cd1 100644 --- a/include/wx/stubs/frame.h +++ b/include/wx/stubs/frame.h @@ -63,8 +63,6 @@ public: 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); @@ -128,6 +126,9 @@ public: // 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 @@ -135,7 +136,7 @@ public: // 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;