Corrected wxComboBox::GetValue() after a
selection has changed. Added test for that to the "widgets" sample. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -545,6 +545,8 @@ void ComboboxWidgetsPage::OnComboBox(wxCommandEvent& event)
|
||||
m_textDelete->SetValue(wxString::Format(_T("%ld"), sel));
|
||||
|
||||
wxLogMessage(_T("Combobox item %ld selected"), sel);
|
||||
|
||||
wxLogMessage(_T("Combobox GetValue(): %s"), m_combobox->GetValue().c_str() );
|
||||
}
|
||||
|
||||
void ComboboxWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
|
||||
|
Reference in New Issue
Block a user