X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d015713e787da8241e92ff86ee2e911868b8024c..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/timer.h diff --git a/include/wx/mac/timer.h b/include/wx/mac/timer.h index 1c4469e9a5..397edf7485 100644 --- a/include/wx/mac/timer.h +++ b/include/wx/mac/timer.h @@ -12,7 +12,7 @@ #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "timer.h" #endif @@ -21,12 +21,7 @@ class wxTimer ; -typedef struct MacTimerInfo -{ - TMTask m_task; - wxMacNotifierTableRef m_table ; - wxTimer* m_timer ; -} ; +struct MacTimerInfo ; class WXDLLEXPORT wxTimer: public wxTimerBase { @@ -41,7 +36,7 @@ public: virtual bool IsRunning() const ; - MacTimerInfo m_info; + MacTimerInfo* m_info; protected : void Init(); private: