vEvent.SetInt(GetSelection());
vEvent.SetEventObject(this);
- vEvent.SetString((char*)GetStringSelection().c_str());
+ vEvent.SetString(GetStringSelection());
ProcessCommand(vEvent);
}
break;
sValue = GetValue();
else
SetValue(sValue);
- vEvent.SetString((char*)GetValue().c_str());
+ vEvent.SetString(GetValue());
vEvent.SetEventObject(this);
ProcessCommand(vEvent);
}
lSstyle |= CBS_DROPDOWN;
- if (!OS2CreateControl( "COMBOBOX"
+ if (!OS2CreateControl( _T("COMBOBOX")
,lSstyle
))
return false;
if ( HasFlag(wxCB_READONLY) )
SetStringSelection(rsValue);
else
- ::WinSetWindowText(GetHwnd(), rsValue.c_str());
+ ::WinSetWindowText(GetHwnd(), (PSZ)rsValue.c_str());
} // end of wxComboBox::SetValue
//