From 5eb34e9eb055d08de83f748fc38faa8a2068dd42 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Mar 2009 21:42:08 +0000 Subject: [PATCH] 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 --- include/wx/richtext/richtextctrl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.50.0