if (event.GetEventType() == wxEVT_COMMAND_TEXT_ENTER)
wxLogMessage(_T("Combobox enter pressed (now '%s')"), s.c_str());
else
- wxLogMessage(_T("Combobox text changed (now '%s')"), s.c_str());
+ wxLogMessage(_T("Combobox text changed (now '%s')"), s.c_str());
}
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() );
}