From: Vadim Zeitlin Date: Sun, 29 Apr 2012 23:21:57 +0000 (+0000) Subject: Enable wxComboBox::SetString() test in the widgets sample. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b90aca4cba628fd25471b337cd9ddba26fc7ba7b?ds=sidebyside Enable wxComboBox::SetString() test in the widgets sample. It was disabled because it wasn't implemented for wxGTK at some time in the past -- but it is implemented now, so there is no reason to not allow testing it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/widgets/combobox.cpp b/samples/widgets/combobox.cpp index 5eb34f42da..f5ef0d5127 100644 --- a/samples/widgets/combobox.cpp +++ b/samples/widgets/combobox.cpp @@ -481,11 +481,7 @@ void ComboboxWidgetsPage::OnButtonChange(wxCommandEvent& WXUNUSED(event)) int sel = m_combobox->GetSelection(); if ( sel != wxNOT_FOUND ) { -#ifndef __WXGTK__ m_combobox->SetString(sel, m_textChange->GetValue()); -#else - wxLogMessage(wxT("Not implemented in wxGTK")); -#endif } }