]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gaugecmn.cpp
optionally count repeating wxLog messages instead of logging all (patch 1520815)
[wxWidgets.git] / src / common / gaugecmn.cpp
index b7384ea545c4c6061fabb63083be819a05217d1e..49d5b5914450339e6042b22ac9961d57b9900254 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "gaugebase.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
 #endif //WX_PRECOMP
 
+#if wxUSE_GAUGE
+
 #include "wx/gauge.h"
 
-#if wxUSE_GAUGE
+const wxChar wxGaugeNameStr[] = wxT("gauge");
 
 // ============================================================================
 // implementation
@@ -58,7 +56,7 @@ bool wxGaugeBase::Create(wxWindow *parent,
                          const wxString& name)
 {
     if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
-        return FALSE;
+        return false;
 
     SetName(name);
 
@@ -69,7 +67,7 @@ bool wxGaugeBase::Create(wxWindow *parent,
     SetRange(range);
     SetValue(0);
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------