]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/spinbutt.h
workaround for BCC bug - use #defines instead of enums
[wxWidgets.git] / include / wx / univ / spinbutt.h
index 884618a626be54dcdfb0f4addaf3344c8fa480b5..6f2ec38af0507dd373e2d85c02bc2ff77b9bfed7 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_SPINBUTT_H_
 #define _WX_UNIV_SPINBUTT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univspinbutt.h"
 #endif
 
@@ -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);
 };