X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fcd7f64a536513f8c8e3ecfac51c0a9ed7f92b7..a570e8f8febd7213e789647478298293df4519db:/include/wx/cocoa/timer.h?ds=sidebyside diff --git a/include/wx/cocoa/timer.h b/include/wx/cocoa/timer.h index be47a6b33a..fb1677a977 100644 --- a/include/wx/cocoa/timer.h +++ b/include/wx/cocoa/timer.h @@ -11,10 +11,6 @@ #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 sm_cocoaDelegate; DECLARE_ABSTRACT_CLASS(wxTimer) };