Don't use wxLB_EXTENDED with the checklistbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -435,10 +435,17 @@ bool wxMultiChoiceDialog::Create( wxWindow *parent,
|
|||||||
long style,
|
long style,
|
||||||
const wxPoint& pos )
|
const wxPoint& pos )
|
||||||
{
|
{
|
||||||
|
long styleLbox;
|
||||||
|
#if wxUSE_CHECKLISTBOX
|
||||||
|
styleLbox = wxLB_ALWAYS_SB;
|
||||||
|
#else
|
||||||
|
styleLbox = wxLB_ALWAYS_SB | wxLB_EXTENDED;
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( !wxAnyChoiceDialog::Create(parent, message, caption,
|
if ( !wxAnyChoiceDialog::Create(parent, message, caption,
|
||||||
n, choices,
|
n, choices,
|
||||||
style, pos,
|
style, pos,
|
||||||
wxLB_ALWAYS_SB | wxLB_EXTENDED) )
|
styleLbox) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user