]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/scrthumb.h
trying to get wxUSE_NATIVE_STATUSBAR setting correctly: define it to 1 by default...
[wxWidgets.git] / include / wx / univ / scrthumb.h
index 19496c94febea313681efd6f62ec89b47de6a4c8..17b501abfd08519980dff85293b487ad6a7595b9 100644 (file)
@@ -5,14 +5,14 @@
 // Modified by:
 // Created:     12.02.01
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
+// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_UNIV_SCRTHUMB_H_
 #define _WX_UNIV_SCRTHUMB_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univscrthumb.h"
 #endif
 
@@ -118,7 +118,7 @@ public:
     // responsible for refreshing the control
     virtual void SetShaftPartState(wxScrollThumb::Shaft shaftPart,
                                    int flag,
-                                   bool set = TRUE) = 0;
+                                   bool set = true) = 0;
 
     // called when the user starts dragging the thumb
     virtual void OnThumbDragStart(int pos) = 0;
@@ -134,7 +134,7 @@ public:
     virtual void OnPageScrollStart() = 0;
 
     // called while the user keeps the mouse pressed above/below the thumb,
-    // return TRUE to continue scrollign and FALSE to stop it (e.g. because the
+    // return true to continue scrollign and false to stop it (e.g. because the
     // scrollbar has reached the top/bottom)
     virtual bool OnPageScroll(int pageInc) = 0;
 };