]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_menu.h
added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
[wxWidgets.git] / include / wx / xrc / xh_menu.h
index 3ba54e86a615c3292a3a0520b586eb935e569dfc..1e516bf460500d02d88e20e01b6c343956f3cd01 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_MENU_H_
 #define _WX_XH_MENU_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_menu.h"
 #endif
 
@@ -19,6 +19,7 @@
 
 class WXXMLDLLEXPORT wxMenuXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxMenuXmlHandler)
 public:
     wxMenuXmlHandler();
     virtual wxObject *DoCreateResource();
@@ -30,6 +31,7 @@ private:
 
 class WXXMLDLLEXPORT wxMenuBarXmlHandler : public wxXmlResourceHandler
 {
+       DECLARE_DYNAMIC_CLASS(wxMenuBarXmlHandler)
     public:
         wxMenuBarXmlHandler();
         virtual wxObject *DoCreateResource();