]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/button.cpp
Applied patch [ 1163322 ] Patch to prevent MDI app from opening the same file twice
[wxWidgets.git] / src / gtk1 / button.cpp
index aec633f4503d231f87cf8a9f15f97e672098e0d4..acaf646e22c3b43896d83cdc0b42db3dee732c8f 100644 (file)
@@ -47,6 +47,7 @@ extern bool   g_blockEventsOnDrag;
 // "clicked"
 //-----------------------------------------------------------------------------
 
 // "clicked"
 //-----------------------------------------------------------------------------
 
+extern "C" {
 static void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), wxButton *button )
 {
     if (g_isIdle)
 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);
 }
     event.SetEventObject(button);
     button->GetEventHandler()->ProcessEvent(event);
 }
+}
 
 //-----------------------------------------------------------------------------
 // "style_set" from m_widget
 
 //-----------------------------------------------------------------------------
 // "style_set" from m_widget