Mention that Iconize() and Maximize() don't have immediate effect

At least in wxGTK, the change of the window state is asynchronous.
This commit is contained in:
Vadim Zeitlin
2019-07-15 18:13:29 +02:00
parent 8ab9fed14e
commit f9f58cca54

View File

@@ -228,6 +228,12 @@ public:
/**
Iconizes or restores the window.
Note that in wxGTK the change to the window state is not immediate,
i.e. IsIconized() will typically return @false right after a call to
Iconize() and its return value will only change after the control flow
returns to the event loop and the notification about the window being
really iconized is received.
@param iconize
If @true, iconizes the window; if @false, shows and restores it.
@@ -285,6 +291,9 @@ public:
/**
Maximizes or restores the window.
Note that, just as with Iconize(), the change to the window state is
not immediate in at least wxGTK port.
@param maximize
If @true, maximizes the window, otherwise it restores it.