]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_gauge.cpp
support for standard command IDs
[wxWidgets.git] / src / xrc / xh_gauge.cpp
index 2f3dad0c44076d5515ba27ebc6722ece16c3c512..832c7e3960d08ba893acb6e414fc7b20cb3a4527 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "xh_gauge.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC && wxUSE_GAUGE
+
 #include "wx/xrc/xh_gauge.h"
 #include "wx/gauge.h"
 
-#if wxUSE_GAUGE
-
 IMPLEMENT_DYNAMIC_CLASS(wxGaugeXmlHandler, wxXmlResourceHandler)
 
 wxGaugeXmlHandler::wxGaugeXmlHandler()
@@ -71,4 +67,4 @@ bool wxGaugeXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxGauge"));
 }
 
-#endif // wxUSE_GAUGE
+#endif // wxUSE_XRC && wxUSE_GAUGE