X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b14c561d9f8cdfbbfbf05b0b1eef1dd63ece3e6..5ac8ce9e055c56bb0b939905fa682a324ec3d300:/src/gtk/timer.cpp diff --git a/src/gtk/timer.cpp b/src/gtk/timer.cpp index f5330bc012..3b28f1d1c2 100644 --- a/src/gtk/timer.cpp +++ b/src/gtk/timer.cpp @@ -8,11 +8,12 @@ ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "timer.h" #endif -#include "wx/defs.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #if wxUSE_TIMER @@ -24,7 +25,7 @@ // wxTimer // ---------------------------------------------------------------------------- -IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject) +IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler) extern "C" gint timeout_callback( gpointer data ) {