]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/timer.h
added SendPageChanging/ChangedEvent() functions; fixed wxCocoa build broken by wxNote...
[wxWidgets.git] / include / wx / cocoa / timer.h
index be47a6b33a0b4af3aa33f1bddcee9d909459160c..fb1677a97748d8129df96046aa69d85b57bf94a4 100644 (file)
 #ifndef __WX_TIMER_H__
 #define __WX_TIMER_H__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "timer.h"
-#endif
-
 #include "wx/cocoa/ObjcRef.h"
 
 //-----------------------------------------------------------------------------
@@ -29,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();
@@ -44,7 +40,6 @@ protected:
 
 private:
     WX_NSTimer m_cocoaNSTimer;
-    static const wxObjcAutoRefFromAlloc<struct objc_object *> sm_cocoaDelegate;
 
     DECLARE_ABSTRACT_CLASS(wxTimer)
 };