]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_stbox.cpp
avoid multiple reallocations in wxString::PrintfV() if vsnprintf() returns the total...
[wxWidgets.git] / src / xrc / xh_stbox.cpp
index 9a88572d5be1296b0415e4bd04b70987463a9da2..9c3c08a25f0704ddd7fe58c6283b7e044ca9a296 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "xh_stbox.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_stbox.h"
 #include "wx/statbox.h"
 
@@ -50,3 +48,5 @@ bool wxStaticBoxXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxStaticBox"));
 }
+
+#endif // wxUSE_XRC