X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6766e5d1368b2231500e320cd082332a63b15a3c..8e54aaedb5329a49ffd9c5d50071f9c8cdd5c59e:/src/univ/slider.cpp diff --git a/src/univ/slider.cpp b/src/univ/slider.cpp index adfa70db53..e86aa02f8a 100644 --- a/src/univ/slider.cpp +++ b/src/univ/slider.cpp @@ -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;