/////////////////////////////////////////////////////////////////////////////
// Name: scrollbar.h
// Purpose: wxScrollBar class
-// Author: AUTHOR
+// Author: Stefan Csomor
// Modified by:
-// Created: ??/??/98
+// Created: 1998-01-01
// RCS-ID: $Id$
-// Copyright: (c) AUTHOR
-// Licence: wxWindows licence
+// Copyright: (c) Stefan Csomor
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_SCROLBAR_H_
#define _WX_SCROLBAR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "scrolbar.h"
#endif
#include "wx/control.h"
-WXDLLEXPORT_DATA(extern const char*) wxScrollBarNameStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxScrollBarNameStr;
// Scrollbar item
class WXDLLEXPORT wxScrollBar: public wxControl
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; }
bool refresh = TRUE);
void Command(wxCommandEvent& event);
- virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ;
+ virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ;
protected:
int m_pageSize;