X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f893066ba1d27683ba25e0f7841d18bb155acf8d..6489e7ee028debbcdb8aae980b503fce7482538b:/src/gtk1/button.cpp?ds=sidebyside 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