]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/frame.h
we don't need to use solid colour for background drawing when we're inside notebook...
[wxWidgets.git] / include / wx / msw / frame.h
index 7decd43e5c82708b5ace52b90be2cad9a8022a04..c7fb8ed76cfd1435ad3bd5d8083fd83337e6df3d 100644 (file)
@@ -83,7 +83,9 @@ public:
         { return m_useNativeStatusBar; };
 #endif // wxUSE_STATUSBAR
 
+#if wxUSE_MENUS
     WXHMENU GetWinMenu() const { return m_hMenu; }
+#endif // wxUSE_MENUS
 
     // event handlers
     bool HandlePaint();
@@ -142,6 +144,11 @@ protected:
     static bool           m_useNativeStatusBar;
 #endif // wxUSE_STATUSBAR
 
+#if wxUSE_MENUS
+    // frame menu, NULL if none
+    WXHMENU m_hMenu;
+#endif // wxUSE_MENUS
+
 private:
 #if wxUSE_TOOLTIPS
     WXHWND                m_hwndToolTip;