]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix under wxGTK
authorJulian Smart <julian@anthemion.co.uk>
Fri, 27 Feb 2009 17:15:57 +0000 (17:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 27 Feb 2009 17:15:57 +0000 (17:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextctrl.h

index 2cd8ddab4799022dfa12dc111fc93209e415d64c..5d60b8e042c884444d82b4cc43903dda3a99c5a2 100644 (file)
@@ -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()