]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gaugecmn.cpp
Change Fit() back to using SetSize, not SetClientSize.
[wxWidgets.git] / src / common / gaugecmn.cpp
index 4b5681f36d433334a6175f5f55a21793a97b24c9..49d5b5914450339e6042b22ac9961d57b9900254 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #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;
 }
 
 // ----------------------------------------------------------------------------