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()