X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffd84c9476298154de52e55cd9dff3572c68ab18..c3c62822fdda9d340179dec663a806e905882cc9:/include/wx/x11/toplevel.h?ds=inline diff --git a/include/wx/x11/toplevel.h b/include/wx/x11/toplevel.h index ac50971747..ae820864c2 100644 --- a/include/wx/x11/toplevel.h +++ b/include/wx/x11/toplevel.h @@ -50,7 +50,6 @@ public: virtual bool IsMaximized() const; virtual void Iconize(bool iconize = true); virtual bool IsIconized() const; - virtual void SetIcon(const wxIcon& icon) { SetIcons( wxIconBundle( icon ) ); } virtual void SetIcons(const wxIconBundle& icons); virtual void Restore(); @@ -70,6 +69,12 @@ public: virtual bool SetShape(const wxRegion& region); + // For implementation purposes - sometimes decorations make the + // client area smaller + virtual wxPoint GetClientAreaOrigin() const; + + virtual void OnInternalIdle(); + protected: // common part of all ctors void Init(); @@ -77,13 +82,8 @@ protected: // set the icon for the window void DoSetIcon( const wxIcon& icon ); - // For implementation purposes - sometimes decorations make the - // client area smaller - virtual wxPoint GetClientAreaOrigin() const; - // For implementation of delayed resize events bool m_needResizeInIdle; - virtual void OnInternalIdle(); virtual void DoGetClientSize( int *width, int *height ) const; virtual void DoGetSize( int *width, int *height ) const;