]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_sttxt.cpp
re-renamed DoCreate() to XmDoCreateTLW() to avoid virtual function hiding in other...
[wxWidgets.git] / src / xrc / xh_sttxt.cpp
index a65e2b4b4fdcba43b14f6c4637ecb89586f785b3..f3bb578bd69f604aa0cf971e8e48aa5b1e18c92e 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "xh_sttxt.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_sttxt.h"
 #include "wx/stattext.h"
 
@@ -54,3 +52,5 @@ bool wxStaticTextXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxStaticText"));
 }
+
+#endif // wxUSE_XRC