From 323d4fa7a18159a6932d2426f97c21198bb97460 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 30 Nov 2016 08:34:24 -0800 Subject: [PATCH] Add missing Restore() method. --- interface/wx/toplevel.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/interface/wx/toplevel.h b/interface/wx/toplevel.h index 27775eb513..541c61dbb3 100644 --- a/interface/wx/toplevel.h +++ b/interface/wx/toplevel.h @@ -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.