]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
Added new __WXMOTIF20__ macro, which is true if the Motif version
[wxWidgets.git] / include / wx / menu.h
index 181781b0a59c2586bcf4bc9c3aa9ace86b1e929b..f8f172cc7157d49d2ee011ddc32d1d84d9d79b50 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MENU_H_BASE_
 #define _WX_MENU_H_BASE_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "menubase.h"
 #endif
 
@@ -389,6 +389,8 @@ protected:
     long           m_style;             // combination of wxMENU_XXX flags
 
     wxEvtHandler  *m_eventHandler;      // a pluggable in event handler
+
+    DECLARE_NO_COPY_CLASS(wxMenuBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -516,6 +518,8 @@ protected:
 
     // the frame we are attached to (may be NULL)
     wxFrame *m_menuBarFrame;
+
+    DECLARE_NO_COPY_CLASS(wxMenuBarBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -537,8 +541,6 @@ protected:
     #include "wx/mac/menu.h"
 #elif defined(__WXPM__)
     #include "wx/os2/menu.h"
-#elif defined(__WXSTUBS__)
-    #include "wx/stubs/menu.h"
 #endif
 #endif // wxUSE_BASE_CLASSES_ONLY/!wxUSE_BASE_CLASSES_ONLY