]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/spinbutt.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / os2 / spinbutt.h
index 493f7fddfcb5fda634f9398f6ca461af4e84a0af..1513ab8860251890082c618e25b450e9d3a272fd 100644 (file)
@@ -22,7 +22,7 @@ extern MRESULT EXPENTRY wxSpinCtrlWndProc(
 , MPARAM                            lParam
 );
 
 , MPARAM                            lParam
 );
 
-class WXDLLEXPORT wxSpinButton: public wxSpinButtonBase
+class WXDLLIMPEXP_CORE wxSpinButton: public wxSpinButtonBase
 {
 public:
     // Construction
 {
 public:
     // Construction
@@ -32,7 +32,7 @@ public:
                         ,const wxPoint&  rPos = wxDefaultPosition
                         ,const wxSize&   rSize = wxDefaultSize
                         ,long            lStyle = wxSP_VERTICAL
                         ,const wxPoint&  rPos = wxDefaultPosition
                         ,const wxSize&   rSize = wxDefaultSize
                         ,long            lStyle = wxSP_VERTICAL
-                        ,const wxString& rsName = "wxSpinButton"
+                        ,const wxString& rsName = wxT("wxSpinButton")
                        )
     {
         Create(pParent, vId, rPos, rSize, lStyle, rsName);
                        )
     {
         Create(pParent, vId, rPos, rSize, lStyle, rsName);
@@ -45,7 +45,7 @@ public:
                 ,const wxPoint&  rPos = wxDefaultPosition
                 ,const wxSize&   rSize = wxDefaultSize
                 ,long            lStyle = wxSP_VERTICAL
                 ,const wxPoint&  rPos = wxDefaultPosition
                 ,const wxSize&   rSize = wxDefaultSize
                 ,long            lStyle = wxSP_VERTICAL
-                ,const wxString& rsName = "wxSpinButton"
+                ,const wxString& rsName = wxT("wxSpinButton")
                );
 
     // Accessors
                );
 
     // Accessors