ok, it does work - it's just that wxGTK doesn't

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-11-03 21:11:41 +00:00
parent d6c9c1b71e
commit 3d49ce4485
3 changed files with 9 additions and 12 deletions

View File

@@ -365,12 +365,14 @@ void MyFrame::MultiChoice(wxCommandEvent& WXUNUSED(event) )
this);
if ( count )
{
wxLogMessage("You selected %u items:", count);
wxString msg;
msg.Printf("You selected %u items:\n", count);
for ( size_t n = 0; n < count; n++ )
{
wxLogMessage("\t%u: %u (%s)", n, selections[n],
choices[selections[n]].c_str());
msg += wxString::Format("\t%u: %u (%s)\n", n, selections[n],
choices[selections[n]].c_str());
}
wxLogMessage(msg);
}
//else: cancelled or nothing selected
}