]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gaugecmn.cpp
use ifdef, not if, to test for HAVE_WCSRTOMBS
[wxWidgets.git] / src / common / gaugecmn.cpp
index 4b5681f36d433334a6175f5f55a21793a97b24c9..3458da9f4b75934c722937e5952005c4e4046bc7 100644 (file)
@@ -58,7 +58,7 @@ bool wxGaugeBase::Create(wxWindow *parent,
                          const wxString& name)
 {
     if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
                          const wxString& name)
 {
     if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
-        return FALSE;
+        return false;
 
     SetName(name);
 
 
     SetName(name);
 
@@ -69,7 +69,7 @@ bool wxGaugeBase::Create(wxWindow *parent,
     SetRange(range);
     SetValue(0);
 
     SetRange(range);
     SetValue(0);
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------