]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/xrc/xh_combo.h
disable the first top level parent, not the topmost top level parent
[wxWidgets.git] / contrib / include / wx / xrc / xh_combo.h
index 2128d953b550eebe187ae6b83c59c2c5e9e5e50f..848a59c3caa76075f2eec6e93f30aad49b4aa143 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_COMBO_H_
 #define _WX_XH_COMBO_H_
 
 #ifndef _WX_XH_COMBO_H_
 #define _WX_XH_COMBO_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_combo.h"
 #endif
 
 #pragma interface "xh_combo.h"
 #endif
 
@@ -19,8 +19,9 @@
 
 #if wxUSE_COMBOBOX
 
 
 #if wxUSE_COMBOBOX
 
-class WXXMLDLLEXPORT wxComboBoxXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxComboBoxXmlHandler : public wxXmlResourceHandler
 {
 {
+DECLARE_DYNAMIC_CLASS(wxComboBoxXmlHandler)
 public:
     wxComboBoxXmlHandler();
     virtual wxObject *DoCreateResource();
 public:
     wxComboBoxXmlHandler();
     virtual wxObject *DoCreateResource();