X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..786900097722e323c847db2d9e2d9b85fe3373ab:/samples/widgets/odcombobox.cpp?ds=inline diff --git a/samples/widgets/odcombobox.cpp b/samples/widgets/odcombobox.cpp index b5201e3e3f..34d90347a7 100644 --- a/samples/widgets/odcombobox.cpp +++ b/samples/widgets/odcombobox.cpp @@ -92,6 +92,8 @@ public: ODComboboxWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist); virtual wxControl *GetWidget() const { return m_combobox; } + virtual wxTextEntryBase *GetTextEntry() const + { return m_combobox ? m_combobox->GetTextCtrl() : NULL; } virtual wxItemContainer* GetContainer() const { return m_combobox; } virtual void RecreateWidget() { CreateCombo(); }