X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/313feadc84cdf5501da71c41178c35bb7bed32eb..203b65dd29ad224968b9d7dbb227cecaeec5568c:/src/gtk1/timer.cpp diff --git a/src/gtk1/timer.cpp b/src/gtk1/timer.cpp index 3b28f1d1c2..109a47d09a 100644 --- a/src/gtk1/timer.cpp +++ b/src/gtk1/timer.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "timer.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -27,7 +22,8 @@ IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxEvtHandler) -extern "C" gint timeout_callback( gpointer data ) +extern "C" { +static gint timeout_callback( gpointer data ) { wxTimer *timer = (wxTimer*)data; @@ -54,6 +50,7 @@ extern "C" gint timeout_callback( gpointer data ) return TRUE; } +} void wxTimer::Init() {