X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c35b54e2da67f4c633a894f9b88fa3d0d156519..f44b23b6f7dca21b1171b15560e2058b9b811ec4:/src/gtk1/textctrl.cpp diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index bfa26d0b92..46345f1820 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/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; @@ -929,14 +931,14 @@ void wxTextCtrl::Redo() bool wxTextCtrl::CanUndo() const { // TODO - wxFAIL_MSG( wxT("wxTextCtrl::CanUndo not implemented") ); + //wxFAIL_MSG( wxT("wxTextCtrl::CanUndo not implemented") ); return FALSE; } bool wxTextCtrl::CanRedo() const { // TODO - wxFAIL_MSG( wxT("wxTextCtrl::CanRedo not implemented") ); + //wxFAIL_MSG( wxT("wxTextCtrl::CanRedo not implemented") ); return FALSE; }