X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/999d9a9f795cfc745681989ae0f30e531cde059f..8d0a7b563acf4bd7e75824ba2076a7ab4d81a650:/include/wx/xrc/xh_combo.h diff --git a/include/wx/xrc/xh_combo.h b/include/wx/xrc/xh_combo.h index 2128d953b5..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_ -#ifdef __GNUG__ +#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();