]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/spinbutt.h
avoid GCC warning about type-punned pointer breaking strict aliasing rules
[wxWidgets.git] / include / wx / motif / spinbutt.h
index eadbf39eea3156abf08dbc827294f7b431d5e672..71ce033ee753bb6eba3b855d36801410fd5d35dc 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
-class WXDLLEXPORT wxArrowButton; // internal
+class WXDLLIMPEXP_FWD_CORE wxArrowButton; // internal
 
 class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
 {
@@ -33,7 +33,7 @@ public:
     {
         Create(parent, id, pos, size, style, name);
     }
-    ~wxSpinButton();
+    virtual ~wxSpinButton();
 
     bool Create(wxWindow *parent,
         wxWindowID id = wxID_ANY,