X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..b4a5e7b6f19bcef7449c87d46ab46af1b4aaec6b:/src/xrc/xh_combo.cpp diff --git a/src/xrc/xh_combo.cpp b/src/xrc/xh_combo.cpp index ffde936198..837633de09 100644 --- a/src/xrc/xh_combo.cpp +++ b/src/xrc/xh_combo.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_combo.h" #endif @@ -19,12 +19,12 @@ #pragma hdrstop #endif +#if wxUSE_XRC && wxUSE_COMBOBOX + #include "wx/xrc/xh_combo.h" #include "wx/combobox.h" #include "wx/intl.h" -#if wxUSE_COMBOBOX - IMPLEMENT_DYNAMIC_CLASS(wxComboBoxXmlHandler, wxXmlResourceHandler) wxComboBoxXmlHandler::wxComboBoxXmlHandler() @@ -100,4 +100,4 @@ bool wxComboBoxXmlHandler::CanHandle(wxXmlNode *node) (m_insideBox && node->GetName() == wxT("item"))); } -#endif +#endif // wxUSE_XRC && wxUSE_COMBOBOX