X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..67193066b2d16ca36529216f70d093690d7e1123:/src/common/gaugecmn.cpp diff --git a/src/common/gaugecmn.cpp b/src/common/gaugecmn.cpp index c32028e675..49d5b59144 100644 --- a/src/common/gaugecmn.cpp +++ b/src/common/gaugecmn.cpp @@ -6,7 +6,7 @@ // Created: 20.02.01 // RCS-ID: $Id$ // Copyright: (c) 2001 Vadim Zeitlin -// License: wxWidgets licence +// License: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,10 +17,6 @@ // 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" @@ -31,9 +27,11 @@ #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; } // ----------------------------------------------------------------------------