/////////////////////////////////////////////////////////////////////////////
-// Name: msw/combobox.cpp
+// Name: src/msw/combobox.cpp
// Purpose: wxComboBox class
// Author: Julian Smart
// Modified by:
switch ( param )
{
case CBN_SELENDOK:
+#ifndef __SMARTPHONE__
// we need to reset this to prevent the selection from being undone
// by wxChoice, see wxChoice::MSWCommand() and comments there
m_lastAcceptedSelection = wxID_NONE;
+#endif
// set these variables so that they could be also fixed in
// CBN_EDITCHANGE below
sel = GetSelection();
- value = GetValue();
+ value = GetStringSelection();
{
wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, GetId());
event.SetEventObject(this);
}
#endif // wxUSE_COMBOBOX
-