X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d89ddefa968e2449d10e07a261d070b3fc180ab..1a33ac8fb0f5e43c89bd698618d554c6f7b8b452:/include/wx/generic/timer.h diff --git a/include/wx/generic/timer.h b/include/wx/generic/timer.h index efe303411c..83a6e5c2e2 100644 --- a/include/wx/generic/timer.h +++ b/include/wx/generic/timer.h @@ -11,7 +11,7 @@ #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 @@ -25,7 +25,7 @@ class WXDLLEXPORT wxTimer : public wxTimerBase { public: wxTimer() { Init(); } - wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id) + wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid) { Init(); } ~wxTimer();