]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/timer.h
Digital Mars doesn't like the identifiers being declared later
[wxWidgets.git] / include / wx / cocoa / timer.h
index 27aa354e6e39292a526e927808b24063f6b2ad31..fb1677a97748d8129df96046aa69d85b57bf94a4 100644 (file)
@@ -25,7 +25,7 @@ public:
     wxTimer() { Init(); }
     wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid)
         { Init(); }
-    ~wxTimer();
+    virtual ~wxTimer();
 
     virtual bool Start(int millisecs = -1, bool oneShot = false);
     virtual void Stop();
@@ -40,7 +40,6 @@ protected:
 
 private:
     WX_NSTimer m_cocoaNSTimer;
-    static const wxObjcAutoRefFromAlloc<struct objc_object *> sm_cocoaDelegate;
 
     DECLARE_ABSTRACT_CLASS(wxTimer)
 };