diff --git a/interface/wx/toplevel.h b/interface/wx/toplevel.h index 27775eb513..e7f5c3423f 100644 --- a/interface/wx/toplevel.h +++ b/interface/wx/toplevel.h @@ -208,7 +208,7 @@ public: @param iconize If @true, iconizes the window; if @false, shows and restores it. - @see IsIconized(), Maximize(), wxIconizeEvent. + @see IsIconized(), Restore()(), wxIconizeEvent. */ virtual void Iconize(bool iconize = true); @@ -265,7 +265,7 @@ public: @param maximize If @true, maximizes the window, otherwise it restores it. - @see Iconize() + @see Restore(), Iconize() */ virtual void Maximize(bool maximize = true); @@ -315,6 +315,18 @@ public: */ virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO); + /** + Restore a previously iconized or maximized window to its normal state. + + In wxGTK this method currently doesn't return the maximized window to + its normal state and you must use Maximize() with @false argument + explicitly for this. In the other ports, it both unmaximizes the + maximized windows and uniconizes the iconized ones. + + @see Iconize(), Maximize() + */ + void Restore(); + /** Changes the default item for the panel, usually @a win is a button.