]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_sttxt.cpp
Add samples mobile and ownerdrw. Make sample richedit available on all
[wxWidgets.git] / src / xrc / xh_sttxt.cpp
index a65e2b4b4fdcba43b14f6c4637ecb89586f785b3..9397992d87eccfb53fadfac8bf44e9f31a8279bc 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_sttxt.h"
 #endif
 
@@ -19,6 +19,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xh_sttxt.h"
 #include "wx/stattext.h"
 
@@ -54,3 +56,5 @@ bool wxStaticTextXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxStaticText"));
 }
+
+#endif // wxUSE_XRC