#ifndef _WX_SCROLBAR_H_
#define _WX_SCROLBAR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "scrolbar.h"
#endif
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; }