X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed7919869508ccd5c868683c28706f82e82a1b9b..0e32fdb872d413f14da8ce045766f0e2f13e202d:/src/gtk1/timer.cpp?ds=inline diff --git a/src/gtk1/timer.cpp b/src/gtk1/timer.cpp index ab9e368931..f8531ba81c 100644 --- a/src/gtk1/timer.cpp +++ b/src/gtk1/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 +