X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/747d7d7c159a57015d7aa9d844f834b78f613272..65751a0ee7a4cfaef9f459c29bfd67f5be6d893b:/samples/widgets/widgets.h diff --git a/samples/widgets/widgets.h b/samples/widgets/widgets.h index a3f25a6a04..b0ed066f58 100644 --- a/samples/widgets/widgets.h +++ b/samples/widgets/widgets.h @@ -97,6 +97,9 @@ public: // return the control shown by this page virtual wxControl *GetWidget() const = 0; + // return the control shown by this page, if it supports text entry interface + virtual wxTextEntryBase *GetTextEntry() const { return NULL; } + // lazy creation of the content virtual void CreateContent() = 0;