]> git.saurik.com Git - wxWidgets.git/commitdiff
Mention that wxEVT_MAXIMIZE is only generated by a few ports.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Mar 2011 09:40:08 +0000 (09:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Mar 2011 09:40:08 +0000 (09:40 +0000)
Currently only wxMSW, wxOSX/Cocoa and wxOS2 generate this event. Notably wxGTK
does not.

See #13022.

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

interface/wx/event.h

index 9b4d0a408aa185262e467227deae4846b227b96f..9ebf57c12df9ede32dd02a9010e5aa675bc8f5b4 100644 (file)
@@ -1787,6 +1787,10 @@ public:
     not sent when the window is restored to its original size after it had been
     maximized, only a normal wxSizeEvent is generated in this case.
 
+    Currently this event is only generated in wxMSW, wxOSX/Cocoa and wxOS2
+    ports so portable programs should only rely on receiving @c wxEVT_SIZE and
+    not necessarily this event when the window is maximized.
+
     @beginEventTable{wxMaximizeEvent}
     @event{EVT_MAXIMIZE(func)}
         Process a @c wxEVT_MAXIMIZE event.