]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_listb.h
we need our own imaglist implementation because in wxmac wxIcon does not inherit...
[wxWidgets.git] / include / wx / xrc / xh_listb.h
index 35f0b34d2d747123dc979e79ffff1f8e1384945e..9dbda3f3a2c14f3c77d4189e91754aff7ba9ae89 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_LISTB_H_
 #define _WX_XH_LISTB_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_listb.h"
 #endif
 
@@ -19,8 +19,9 @@
 
 #if wxUSE_LISTBOX
 
-class WXXMLDLLEXPORT wxListBoxXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxListBoxXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxListBoxXmlHandler)
 public:
     wxListBoxXmlHandler();
     virtual wxObject *DoCreateResource();