From e22e5ee4e70eb4542dee3180f949847c0e6ff127 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 9 Mar 2011 09:40:08 +0000 Subject: [PATCH] Mention that wxEVT_MAXIMIZE is only generated by a few ports. 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/wx/event.h b/interface/wx/event.h index 9b4d0a408a..9ebf57c12d 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -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. -- 2.45.2