GTK+ callbacks must have C linkage (patch 1157384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,7 +27,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 +55,7 @@ extern "C" gint timeout_callback( gpointer data )
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
void wxTimer::Init()
|
||||
{
|
||||
|
Reference in New Issue
Block a user