From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Sun, 22 Mar 2009 21:42:08 +0000 (+0000) Subject: compilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5eb34e9eb055d08de83f748fc38faa8a2068dd42 compilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time, just as for the other ports but hey, it compiles) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 7be78d5ac7..a0ecffeacf 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -777,7 +777,10 @@ protected: #ifdef __WXMSW__ virtual WXHWND GetEditHWND() const { return GetHWND(); } #endif -#ifdef __WXGTK__ +#ifdef __WXMOTIF__ + virtual WXWidget GetTextWidget() const { return NULL; } +#endif +#ifdef __WXGTK20__ virtual wxWindow *GetEditableWindow() { return this; } virtual GtkEditable *GetEditable() const { return NULL; } #endif