]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/slider.cpp
Tweaked the layout sample a bit for wxGridBagSizer
[wxWidgets.git] / src / univ / slider.cpp
index adfa70db53dce77cec466cb10e09ecb19eda80cc..e86aa02f8a08ae51723fecca93f2a93f9d9f9942 100644 (file)
@@ -42,7 +42,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univslider.h"
 #endif
 
@@ -1026,8 +1026,9 @@ bool wxStdSliderButtonInputHandler::HandleMouseMove(wxInputConsumer *consumer,
     return wxStdInputHandler::HandleMouseMove(consumer, event);
 }
 
-bool wxStdSliderButtonInputHandler::HandleFocus(wxInputConsumer *consumer,
-                                                const wxFocusEvent& event)
+bool
+wxStdSliderButtonInputHandler::HandleFocus(wxInputConsumer * WXUNUSED(consumer),
+                                           const wxFocusEvent& WXUNUSED(event))
 {
     // slider's appearance changes when it gets/loses focus
     return TRUE;