X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..2e2b69eececf83c7097435e1f4482cc153e8d82c:/src/xrc/xh_listb.cpp diff --git a/src/xrc/xh_listb.cpp b/src/xrc/xh_listb.cpp index c0a41a91eb..939d6e834c 100644 --- a/src/xrc/xh_listb.cpp +++ b/src/xrc/xh_listb.cpp @@ -19,6 +19,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/xrc/xh_listb.h" #include "wx/listbox.h" #include "wx/intl.h" @@ -99,3 +101,5 @@ bool wxListBoxXmlHandler::CanHandle(wxXmlNode *node) return (IsOfClass(node, wxT("wxListBox")) || (m_insideBox && node->GetName() == wxT("item"))); } + +#endif // wxUSE_XRC