X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..1d54b9d29706dbb43de5624bdf4a2aaa74b2350b:/include/wx/xrc/xh_combo.h 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();