X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f893066ba1d27683ba25e0f7841d18bb155acf8d..dde4740fe1dddbb2738a0afd054f493cb0dd67d1:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index aec633f450..acaf646e22 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/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