X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be16b85933283014930eb4973ab65706f75c94d8..65751a0ee7a4cfaef9f459c29bfd67f5be6d893b:/samples/widgets/textctrl.cpp diff --git a/samples/widgets/textctrl.cpp b/samples/widgets/textctrl.cpp index e3f6c7845e..f0ad274d1b 100644 --- a/samples/widgets/textctrl.cpp +++ b/samples/widgets/textctrl.cpp @@ -138,6 +138,7 @@ public: virtual ~TextWidgetsPage(){}; virtual wxControl *GetWidget() const { return m_text; } + virtual wxTextEntryBase *GetTextEntry() const { return m_text; } virtual void RecreateWidget() { CreateText(); } // lazy creation of the content