]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_listb.cpp
Better alphabetized the event handler macros
[wxWidgets.git] / src / xrc / xh_listb.cpp
index c0a41a91eb9bb4d7ce30deac2a586f2e2f9919a5..939d6e834c314753656a187b0dc57cfaf17593c3 100644 (file)
@@ -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