X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..32c19f25fce3a38f9e4cf1497761fd7364d7bc62:/include/wx/xrc/xh_combo.h?ds=sidebyside diff --git a/include/wx/xrc/xh_combo.h b/include/wx/xrc/xh_combo.h index 6be381c052..cf894b87f6 100644 --- a/include/wx/xrc/xh_combo.h +++ b/include/wx/xrc/xh_combo.h @@ -11,7 +11,7 @@ #ifndef _WX_XH_COMBO_H_ #define _WX_XH_COMBO_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "xh_combo.h" #endif @@ -19,8 +19,9 @@ #if wxUSE_COMBOBOX -class WXXMLDLLEXPORT wxComboBoxXmlHandler : public wxXmlResourceHandler +class WXDLLIMPEXP_XRC wxComboBoxXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxComboBoxXmlHandler) public: wxComboBoxXmlHandler(); virtual wxObject *DoCreateResource();