]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_gauge.cpp
Block all events in wxSpinCtrl::SetValue etc.
[wxWidgets.git] / src / xrc / xh_gauge.cpp
index 2b8a9b97910fe736eb723882a5cab01c5985ba8b..9d63af74d0e6f70406d0ba6608e999f4bda58a24 100644 (file)
 #if wxUSE_XRC && wxUSE_GAUGE
 
 #include "wx/xrc/xh_gauge.h"
-#include "wx/gauge.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/gauge.h"
+#endif
 
 IMPLEMENT_DYNAMIC_CLASS(wxGaugeXmlHandler, wxXmlResourceHandler)
 
 wxGaugeXmlHandler::wxGaugeXmlHandler()
-wxXmlResourceHandler()
+                  :wxXmlResourceHandler()
 {
     XRC_ADD_STYLE(wxGA_HORIZONTAL);
     XRC_ADD_STYLE(wxGA_VERTICAL);