X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a31a5f85341a2ef131d86a1dee12f3d6c8156118..2fcce89663e88cd41896ef62762660c1c1bbbc3a:/include/wx/mac/timer.h diff --git a/include/wx/mac/timer.h b/include/wx/mac/timer.h index dd3f5fd511..1d01ea91a4 100644 --- a/include/wx/mac/timer.h +++ b/include/wx/mac/timer.h @@ -6,13 +6,13 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TIMER_H_ #define _WX_TIMER_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "timer.h" #endif @@ -26,8 +26,8 @@ struct MacTimerInfo ; class WXDLLEXPORT wxTimer: public wxTimerBase { public: - wxTimer() { Init(); } - wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id) { Init(); } + wxTimer() { Init(); } + wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id) { Init(); } ~wxTimer(); virtual bool Start(int milliseconds = -1, @@ -38,7 +38,7 @@ public: MacTimerInfo* m_info; protected : - void Init(); + void Init(); private: DECLARE_ABSTRACT_CLASS(wxTimer)