]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/textctrl.cpp
Moved the check for page scrolling with the wheel into wxMouseEvent so
[wxWidgets.git] / src / gtk1 / textctrl.cpp
index a655706aa5b9b55eab3690c784e33e6f06fe57cd..46345f1820bd9b2a77e1531905dd00fb8e6ec423 100644 (file)
@@ -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;