Makefile and mod def updates. Compile bug in Choice fixed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-02-01 15:50:29 +00:00
parent 60ce696e26
commit e90bc5bffe
3 changed files with 53 additions and 57 deletions

View File

@@ -190,18 +190,17 @@ void wxChoice::SetString(
{
SHORT nIndexType = 0;
::WinSendMsg(WinUtil_GetHwnd(), LM_DELETEITEM, (MPARAM)n, 0);
::WinSendMsg(GetHwnd(), LM_DELETEITEM, (MPARAM)n, 0);
if (m_lWindowStyle & winLB_SORT)
if (m_windowStyle & wxLB_SORT)
nIndexType = LIT_SORTASCENDING;
else
nIndexType = LIT_END;
lIndex = (YInt32)::WinSendMsg( WinUtil_GetHwnd()
,LM_INSERTITEM
,(MPARAM)nIndexType
,(MPARAM)rsStr.Data()
);
::WinSendMsg( GetHwnd()
,LM_INSERTITEM
,(MPARAM)nIndexType
,(MPARAM)rsStr.c_str()
);
} // end of wxChoice::SetString
wxString wxChoice::GetString(