X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46ccb5107ff22cb5cc1b36ef2a28ea1e31b0fc91..220af862c14ef432584fae3ef096aa17a6cfaf2d:/include/wx/stubs/frame.h diff --git a/include/wx/stubs/frame.h b/include/wx/stubs/frame.h index 705cc5cf24..64ec0d6cd1 100644 --- a/include/wx/stubs/frame.h +++ b/include/wx/stubs/frame.h @@ -60,8 +60,8 @@ public: void GetSize(int *width, int *height) const ; void GetPosition(int *x, int *y) const ; void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); - - virtual bool OnClose(); + void ClientToScreen(int *x, int *y) const; + void ScreenToClient(int *x, int *y) const; void OnSize(wxSizeEvent& event); void OnMenuHighlight(wxMenuEvent& event); @@ -126,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 @@ -133,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;