X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71908213057690d5452f72b2b9c8e62b53357170..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/univ/spinbutt.h diff --git a/include/wx/univ/spinbutt.h b/include/wx/univ/spinbutt.h index 07b66be03d..6f2ec38af0 100644 --- a/include/wx/univ/spinbutt.h +++ b/include/wx/univ/spinbutt.h @@ -12,8 +12,8 @@ #ifndef _WX_UNIV_SPINBUTT_H_ #define _WX_UNIV_SPINBUTT_H_ -#ifdef __GNUG__ - #pragma interface "spinbutt.h" +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) + #pragma interface "univspinbutt.h" #endif #include "wx/univ/scrarrow.h" @@ -107,12 +107,12 @@ class WXDLLEXPORT wxStdSpinButtonInputHandler : public wxStdInputHandler public: wxStdSpinButtonInputHandler(wxInputHandler *inphand); - virtual bool HandleKey(wxControl *control, + virtual bool HandleKey(wxInputConsumer *consumer, const wxKeyEvent& event, bool pressed); - virtual bool HandleMouse(wxControl *control, + virtual bool HandleMouse(wxInputConsumer *consumer, const wxMouseEvent& event); - virtual bool HandleMouseMove(wxControl *control, + virtual bool HandleMouseMove(wxInputConsumer *consumer, const wxMouseEvent& event); };