]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/scrolbar.h
fixed Cygwin compilation (there's no _get_osfhandle)
[wxWidgets.git] / include / wx / motif / scrolbar.h
index bb1099e0f68b0185090cc0abf29f20b0d2ef70ed..828e2ba89c891e817d6d0278d4cb10c8c685f048 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_SCROLBAR_H_
 #define _WX_SCROLBAR_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "scrolbar.h"
 #endif
 
@@ -48,12 +48,12 @@ public:
 
     virtual void SetThumbPosition(int viewStart);
     virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize,
-        bool refresh = TRUE);
+        bool refresh = true);
     
     void Command(wxCommandEvent& event);
     
     // Implementation
-    virtual void ChangeFont(bool keepOriginalSize = TRUE);
+    virtual void ChangeFont(bool keepOriginalSize = true);
     virtual void ChangeBackgroundColour();
     
 protected: