diff --git a/interface/wx/event.h b/interface/wx/event.h index e58d756b28..3b80a529fb 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -4449,8 +4449,9 @@ public: This method can only be used with the @c OPEN and @c CLOSE events. - The returned value is never @NULL in the ports implementing this - function, which currently includes all the major ones. + Note that the returned value can be @NULL if the menu being opened + doesn't have a corresponding wxMenu, e.g. this happens when opening the + system menu in wxMSW port. */ wxMenu* GetMenu() const;