]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
two fixes from Justin Bradford
[wxWidgets.git] / src / msw / scrolbar.cpp
index 9f7c9ce1467a57d2039461688a59520bc59bac9a..14e71a1711e7bc0fc5631af2835536add8fd4b0d 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "scrolbar.h"
 #endif
 
 
 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,