X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ec80ebe6f64c51ac16de064b462427899e37303..3d7a1b394baa3255d084c877b5caae4b29720a12:/src/mac/carbon/timer.cpp diff --git a/src/mac/carbon/timer.cpp b/src/mac/carbon/timer.cpp index 1fa8fb492c..3c576d0650 100644 --- a/src/mac/carbon/timer.cpp +++ b/src/mac/carbon/timer.cpp @@ -6,21 +6,25 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" +#if wxUSE_TIMER + +#ifndef WX_PRECOMP + #include "wx/dynarray.h" +#endif + #include "wx/timer.h" #ifdef __WXMAC__ -#include "wx/mac/private.h" + #include "wx/mac/private.h" #endif -#include "wx/dynarray.h" - #ifndef __DARWIN__ -#include + #include #endif IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler) @@ -213,4 +217,7 @@ void wxTimer::Stop() wxMacRemoveAllNotifiersForData( wxMacGetNotifierTable(), this ); } -#endif +#endif // wxMAC_USE_CARBON_TIMER + +#endif // wxUSE_TIMER +