X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c23a0b01b3fb667ec41fc8271ce1ee5b5aa4e19..587ce561e1deabbfacf0d619fdd6bb3899430720:/include/wx/stubs/frame.h?ds=sidebyside diff --git a/include/wx/stubs/frame.h b/include/wx/stubs/frame.h index 70247ae171..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,16 +126,17 @@ public: // Compatibility inline bool Iconized() const { return IsIconized(); } - virtual void Maximize(bool maximize); + // Is the frame maximized? + virtual bool IsMaximized(void) const ; - virtual void SetAcceleratorTable(const wxAcceleratorTable& accel); + virtual void Maximize(bool maximize); // Responds to colour changes void OnSysColourChanged(wxSysColourChangedEvent& event); // 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; @@ -147,7 +148,6 @@ protected: bool m_iconized; static bool m_useNativeStatusBar; wxToolBar * m_frameToolBar ; - wxAcceleratorTable m_acceleratorTable; DECLARE_EVENT_TABLE() };