X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..3b96fc2f1b64f78bba7c755a5c14f618962f696b:/src/motif/gauge.cpp?ds=inline diff --git a/src/motif/gauge.cpp b/src/motif/gauge.cpp index 4718acae18..9cfc19a5c0 100644 --- a/src/motif/gauge.cpp +++ b/src/motif/gauge.cpp @@ -6,13 +6,9 @@ // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "gauge.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -23,6 +19,7 @@ #undef XtWindow #undef XtIsRealized #undef XtParent +#undef XtClass #endif # include "wx/gauge.h" @@ -142,14 +139,14 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id, if( size.x != -1 ) best.x = size.x; if( size.y != -1 ) best.y = size.y; - ChangeFont(FALSE); + ChangeFont(false); AttachWidget (parent, m_mainWidget, (WXWidget) NULL, x, y, best.x, best.y); ChangeBackgroundColour(); - return TRUE; + return true; } wxSize wxGauge::DoGetBestSize() const @@ -560,7 +557,7 @@ XmGaugeClassRec xmGaugeClassRec = { sizeof(XmGaugeRec), /* widget_size */ NULL, /* class_initialize */ NULL, /* class_part_initialize */ - FALSE, /* class_inited */ + False, /* class_inited */ Initialize, /* initialize */ NULL, /* initialize_hook */ XtInheritRealize, /* realize */ @@ -569,10 +566,10 @@ XmGaugeClassRec xmGaugeClassRec = { resources, /* resources */ XtNumber(resources), /* num_resources */ NULLQUARK, /* xrm_class */ - TRUE, /* compress_motion */ - TRUE, /* compress_exposure */ - TRUE, /* compress_enterleave */ - FALSE, /* visible_interest */ + True, /* compress_motion */ + True, /* compress_exposure */ + True, /* compress_enterleave */ + False, /* visible_interest */ Destroy, /* destroy */ NULL, /* resize */ ExposeProc, /* expose */