X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4855a4773e9a49c6bb70f1adc3da7109e0b6ccf7..915a955caffbbc0982cc4a1952113bcd09d6d009:/src/gtk/textctrl.cpp diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index a655706aa5..46345f1820 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -160,7 +160,9 @@ gtk_scrollbar_changed_callback( GtkWidget *WXUNUSED(widget), wxTextCtrl *win ) extern bool wxIsInsideYield; -typedef void (*GtkDrawCallback)(GtkWidget *widget, GdkRectangle *rect); +extern "C" { + typedef void (*GtkDrawCallback)(GtkWidget *widget, GdkRectangle *rect); +} static GtkDrawCallback gs_gtk_text_draw = NULL;