X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f618020a15f1647a83aaeab1fe315f90497a9876..19e30148e18cc99296b26503c155e5cef59045f4:/include/wx/x11/toplevel.h diff --git a/include/wx/x11/toplevel.h b/include/wx/x11/toplevel.h index 74f7411c4f..0b16cf9202 100644 --- a/include/wx/x11/toplevel.h +++ b/include/wx/x11/toplevel.h @@ -67,7 +67,10 @@ public: virtual wxString GetTitle() const; // implementation - void SetNeedResizeInIdle( bool set = TRUE ) { m_needResizeInIdle = set; } + void SetNeedResizeInIdle( bool set = TRUE ) + { m_needResizeInIdle = set; } + void SetConfigureGeometry( int x, int y, int width, int height ) + { m_x = x; m_y = y; m_width = width; m_height = height; } protected: // common part of all ctors @@ -85,6 +88,7 @@ protected: virtual void OnInternalIdle(); virtual void DoGetClientSize( int *width, int *height ) const; + virtual void DoGetSize( int *width, int *height ) const; virtual void DoSetClientSize(int width, int height); virtual void DoSetSize(int x, int y, int width, int height, @@ -104,6 +108,9 @@ protected: bool m_fsIsMaximized; bool m_fsIsShowing; wxString m_title; + + // Geometry + int m_x,m_y,m_width,m_height; }; // list of all frames and modeless dialogs