X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f893066ba1d27683ba25e0f7841d18bb155acf8d..7351db919a9dab89c951406bee859b5f3bb53f7a:/src/gtk1/button.cpp diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index aec633f450..acaf646e22 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -47,6 +47,7 @@ extern bool g_blockEventsOnDrag; // "clicked" //----------------------------------------------------------------------------- +extern "C" { static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxButton *button ) { if (g_isIdle) @@ -59,6 +60,7 @@ static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxButton * event.SetEventObject(button); button->GetEventHandler()->ProcessEvent(event); } +} //----------------------------------------------------------------------------- // "style_set" from m_widget