]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxMotif and wxGTK1 (of course, it will still crash at run-time...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 21:42:08 +0000 (21:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 21:42:08 +0000 (21:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextctrl.h

index 7be78d5ac78eb73b2374da53978e0fb6c91fc29d..a0ecffeacfecbb62ce473290c8a7fb62d063d565 100644 (file)
@@ -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