X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4676948b6814c97b93c431a8cbcd8c0352c87ba9..669b65b94575865adc226d35a0de0dd81dde1e5f:/src/msw/scrolbar.cpp diff --git a/src/msw/scrolbar.cpp b/src/msw/scrolbar.cpp index 9f7c9ce146..14e71a1711 100644 --- a/src/msw/scrolbar.cpp +++ b/src/msw/scrolbar.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "scrolbar.h" #endif @@ -31,6 +31,14 @@ IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl) +/* + TODO PROPERTIES + value (long,0) + thumbsize(long,1) + range( long , 10 ) + pagesize( long , 1) +*/ + BEGIN_EVENT_TABLE(wxScrollBar, wxControl) #if WXWIN_COMPATIBILITY EVT_SCROLL(wxScrollBar::OnScroll) @@ -121,7 +129,7 @@ wxScrollBar::~wxScrollBar(void) } bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, - WXWORD pos, WXHWND control) + WXWORD pos, WXHWND WXUNUSED(control)) { // current and max positions int position,