X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed7919869508ccd5c868683c28706f82e82a1b9b..bb6de5ffad98697205287a04fe91ca73e7194709:/src/gtk/timer.cpp?ds=sidebyside diff --git a/src/gtk/timer.cpp b/src/gtk/timer.cpp index ab9e368931..f8531ba81c 100644 --- a/src/gtk/timer.cpp +++ b/src/gtk/timer.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: gtk/timer.cpp -// Purpose: +// Purpose: wxTimer implementation // Author: Robert Roebling // Id: $Id$ // Copyright: (c) 1998 Robert Roebling @@ -12,15 +12,19 @@ #pragma implementation "timer.h" #endif +#include "wx/defs.h" + +#if wxUSE_TIMER + #include "wx/timer.h" #include "gtk/gtk.h" -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- // wxTimer -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- -IMPLEMENT_ABSTRACT_CLASS(wxTimer,wxObject) +IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject) static gint timeout_callback( gpointer data ) { @@ -71,3 +75,5 @@ void wxTimer::Stop() } } +#endif // wxUSE_TIMER +