X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/univ/scrarrow.h diff --git a/include/wx/univ/scrarrow.h b/include/wx/univ/scrarrow.h index b4d68719cc..cd0b6c2475 100644 --- a/include/wx/univ/scrarrow.h +++ b/include/wx/univ/scrarrow.h @@ -5,14 +5,14 @@ // Modified by: // Created: 22.01.01 // RCS-ID: $Id$ -// Copyright: (c) 2001 Vadim Zeitlin +// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_UNIV_SCRARROW_H_ #define _WX_UNIV_SCRARROW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univscrarrow.h" #endif @@ -54,7 +54,7 @@ public: // draws the arrow on the given DC in the given rectangle, uses // wxControlWithArrows::GetArrowState() to get its current state void DrawArrow(Arrow arrow, wxDC& dc, const wxRect& rect, - bool scrollbarLike = FALSE) const; + bool scrollbarLike = false) const; // process a mouse move, enter or leave event, possibly calling // wxControlWithArrows::SetArrowState() if wxControlWithArrows::HitTest() @@ -100,13 +100,13 @@ public: // set or clear the specified flag in the arrow state: this function is // responsible for refreshing the control virtual void SetArrowFlag(wxScrollArrows::Arrow arrow, - int flag, bool set = TRUE) = 0; + int flag, bool set = true) = 0; // hit testing: return on which arrow the point is (or Arrow_None) virtual wxScrollArrows::Arrow HitTest(const wxPoint& pt) const = 0; - // called when the arrow is pressed, return TRUE to continue scrolling and - // FALSE to stop it + // called when the arrow is pressed, return true to continue scrolling and + // false to stop it virtual bool OnArrow(wxScrollArrows::Arrow arrow) = 0; };