]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/textctrl.cpp
fixing infinite recursion for rotated text, introduced in cleanup r57915
[wxWidgets.git] / samples / widgets / textctrl.cpp
index e3f6c7845ed9f13e06bcb11d3c1267e0bd0ca819..f0ad274d1baca8d0aa3ae7d311a5509e2abe9bfe 100644 (file)
@@ -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