X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..16edee16a7c3d346b9eab1672a4c696cb0cf6e24:/src/xrc/xh_combo.cpp diff --git a/src/xrc/xh_combo.cpp b/src/xrc/xh_combo.cpp index ffde936198..16b11715a6 100644 --- a/src/xrc/xh_combo.cpp +++ b/src/xrc/xh_combo.cpp @@ -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