adjusted LB_EXTENDED and LB_MULTIPLE to wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-02-26 07:52:17 +00:00
parent 9f2bfce7b2
commit 09322209d8
2 changed files with 4 additions and 4 deletions

View File

@ -286,11 +286,11 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id,
OptionBits options = 0;
if ( style & wxLB_MULTIPLE )
{
options += lNoExtend ;
options += lExtendDrag + lUseSense ;
}
else if ( style & wxLB_EXTENDED )
{
options += lExtendDrag ;
// default behaviour
}
else
{

View File

@ -286,11 +286,11 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id,
OptionBits options = 0;
if ( style & wxLB_MULTIPLE )
{
options += lNoExtend ;
options += lExtendDrag + lUseSense ;
}
else if ( style & wxLB_EXTENDED )
{
options += lExtendDrag ;
// default behaviour
}
else
{