X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dcccda66bbcf0f68f7d8e069f3fb3ed51d31e68..2e2a55b22eebde25797bd030660d8c644bc7700b:/src/gtk1/checkbox.cpp diff --git a/src/gtk1/checkbox.cpp b/src/gtk1/checkbox.cpp index 37131bc9b8..a0acbe43a4 100644 --- a/src/gtk1/checkbox.cpp +++ b/src/gtk1/checkbox.cpp @@ -7,11 +7,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "checkbox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -42,6 +37,7 @@ extern wxWindowGTK *g_delayedFocus; // "clicked" //----------------------------------------------------------------------------- +extern "C" { static void gtk_checkbox_toggled_callback(GtkWidget *widget, wxCheckBox *cb) { if (g_isIdle) wxapp_install_idle_handler(); @@ -109,6 +105,7 @@ static void gtk_checkbox_toggled_callback(GtkWidget *widget, wxCheckBox *cb) event.SetEventObject(cb); cb->GetEventHandler()->ProcessEvent(event); } +} //----------------------------------------------------------------------------- // wxCheckBox