]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_listb.h
removed const operator[]s (should fix 1162115)
[wxWidgets.git] / include / wx / xrc / xh_listb.h
index c080442c8bdd2a7f55d5ec5ba0c4504f97cda0db..9dbda3f3a2c14f3c77d4189e91754aff7ba9ae89 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_LISTB_H_
 #define _WX_XH_LISTB_H_
 
-#ifdef __GNUG__
+#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();