no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -188,12 +188,20 @@ void wxChoice::SetString(
|
||||
, const wxString& rsStr
|
||||
)
|
||||
{
|
||||
wxFAIL_MSG(wxT("not implemented"));
|
||||
SHORT nIndexType = 0;
|
||||
|
||||
#if 0 // should do this, but no Insert() so far
|
||||
Delete(n);
|
||||
Insert(n + 1, s);
|
||||
#endif
|
||||
::WinSendMsg(WinUtil_GetHwnd(), LM_DELETEITEM, (MPARAM)n, 0);
|
||||
|
||||
|
||||
if (m_lWindowStyle & winLB_SORT)
|
||||
nIndexType = LIT_SORTASCENDING;
|
||||
else
|
||||
nIndexType = LIT_END;
|
||||
lIndex = (YInt32)::WinSendMsg( WinUtil_GetHwnd()
|
||||
,LM_INSERTITEM
|
||||
,(MPARAM)nIndexType
|
||||
,(MPARAM)rsStr.Data()
|
||||
);
|
||||
} // end of wxChoice::SetString
|
||||
|
||||
wxString wxChoice::GetString(
|
||||
|
Reference in New Issue
Block a user