X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6766e5d1368b2231500e320cd082332a63b15a3c..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/include/wx/univ/slider.h diff --git a/include/wx/univ/slider.h b/include/wx/univ/slider.h index 729f68b562..634085cf51 100644 --- a/include/wx/univ/slider.h +++ b/include/wx/univ/slider.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univslider.h" #endif @@ -114,7 +114,7 @@ public: virtual void SetShaftPartState(wxScrollThumb::Shaft shaftPart, int flag, - bool set = TRUE); + bool set = true); virtual void OnThumbDragStart(int pos); virtual void OnThumbDrag(int pos); @@ -149,7 +149,7 @@ protected: // normalize the value to fit in the range int NormalizeValue(int value) const; - // change the value by the given increment, return TRUE if really changed + // change the value by the given increment, return true if really changed bool ChangeValueBy(int inc); // change the value to the given one