]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/button.cpp
Don't always maximize top-level windows on Smartphone
[wxWidgets.git] / src / gtk / button.cpp
index aec633f4503d231f87cf8a9f15f97e672098e0d4..acaf646e22c3b43896d83cdc0b42db3dee732c8f 100644 (file)
@@ -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