]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_listb.cpp
don't expect errno to be set to EOVERFLOW if vsnprintf() fails
[wxWidgets.git] / src / xrc / xh_listb.cpp
index c0a41a91eb9bb4d7ce30deac2a586f2e2f9919a5..ff97088837ab06d82cf63db9196210d0fba4b265 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "xh_listb.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -19,6 +15,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xh_listb.h"
 #include "wx/listbox.h"
 #include "wx/intl.h"
@@ -99,3 +97,5 @@ bool wxListBoxXmlHandler::CanHandle(wxXmlNode *node)
     return (IsOfClass(node, wxT("wxListBox")) ||
            (m_insideBox && node->GetName() == wxT("item")));
 }
+
+#endif // wxUSE_XRC