From: Julian Smart Date: Fri, 27 Feb 2009 17:15:57 +0000 (+0000) Subject: Compile fix under wxGTK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/128fae4632467570719d05cc515391297ff7f980?ds=inline Compile fix under wxGTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index 2cd8ddab47..5d60b8e042 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -774,6 +774,15 @@ public: #ifdef __WXMSW__ virtual WXHWND GetEditHWND() const { return GetHWND(); } #endif +#ifdef __WXGTK__ + // implement this to return the associated window, it will be used for + // event generation + virtual const wxWindow *GetEditableWindow() const { return NULL; } + + // implement this to return the associated GtkEntry or another widget + // implementing GtkEditable + virtual GtkEditable *GetEditable() const { return NULL; } +#endif WX_FORWARD_TO_SCROLL_HELPER()