]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/spinbutt.h
applied patch 890642: wxRE_ADVANCED flag and docs
[wxWidgets.git] / include / wx / mac / spinbutt.h
index fb0bc70b3c788a38b4c717fef8be1da836ac59e0..3b33a8d5ad823cf5d78806406ace5d4bfde46e3a 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "spinbutt.h"
 #endif
 
@@ -40,7 +40,7 @@ public:
                  const wxPoint& pos = wxDefaultPosition,
                  const wxSize& size = wxDefaultSize,
                  long style = wxSP_VERTICAL | wxSP_ARROW_KEYS,
-                 const wxString& name = "wxSpinButton")
+                 const wxString& name = wxT("wxSpinButton"))
     {
         Create(parent, id, pos, size, style, name);
     }
@@ -52,7 +52,7 @@ public:
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxSP_VERTICAL | wxSP_ARROW_KEYS,
-                const wxString& name = "wxSpinButton");
+                const wxString& name = wxT("wxSpinButton"));
 
 
     // accessors
@@ -64,7 +64,7 @@ public:
 
     // implementation
     
-    virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
+    virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ;
 
 protected:
     void         MacHandleValueChanged( int inc ) ;