]> git.saurik.com Git - wxWidgets.git/commitdiff
Clarify that Raise() is only a request to raise the window.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Apr 2010 11:20:45 +0000 (11:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Apr 2010 11:20:45 +0000 (11:20 +0000)
Calling Raise() doesn't guarantee that the window will be raised.

Closes #11974.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/window.h

index 0335e85abe56807cdcea19334b443e0bc3450cd3..63b27031912460f5b6f4ac32471ef8c2f52b694b 100644 (file)
@@ -2099,6 +2099,12 @@ public:
     /**
         Raises the window to the top of the window hierarchy (Z-order).
 
+        Notice that this function only requests the window manager to raise
+        this window to the top of Z-order. Depending on its configuration, the
+        window manager may raise the window, not do it at all or indicate that
+        a window requested to be raised in some other way, e.g. by flashing its
+        icon if it is minimized.
+
         @remarks
         This function only works for wxTopLevelWindow-derived classes.