]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/toplevel.h
Define WXBUILDING in Xcode projects.
[wxWidgets.git] / include / wx / msw / toplevel.h
index 690536dd82cabc8c13bbf6f3c7d04e673a98f1ba..d3ad4a1edc00f46c470a498f699407fa974acd98 100644 (file)
@@ -252,6 +252,10 @@ private:
     // MSWGetSystemMenu(). Owned by this window.
     wxMenu *m_menuSystem;
 
+    // The number of currently opened menus: 0 initially, 1 when a top level
+    // menu is opened, 2 when its submenu is opened and so on.
+    int m_menuDepth;
+
     DECLARE_EVENT_TABLE()
     wxDECLARE_NO_COPY_CLASS(wxTopLevelWindowMSW);
 };