X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..5fd588d2298a44428ac66bef1e4d9fc73e18d4fd:/include/wx/mac/scrolbar.h diff --git a/include/wx/mac/scrolbar.h b/include/wx/mac/scrolbar.h index 9efad2dfd0..61c7f5b139 100644 --- a/include/wx/mac/scrolbar.h +++ b/include/wx/mac/scrolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_SCROLBAR_H_ #define _WX_SCROLBAR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "scrolbar.h" #endif @@ -46,8 +46,8 @@ public: const wxString& name = wxScrollBarNameStr); int GetThumbPosition() const ; - inline int GetThumbSize() const { return m_pageSize; } - inline int GetPageSize() const { return m_viewSize; } + inline int GetThumbSize() const { return m_viewSize; } + inline int GetPageSize() const { return m_pageSize; } inline int GetRange() const { return m_objectSize; } bool IsVertical() const { return (m_windowStyle & wxVERTICAL) != 0; }