Fix test for wxFD_MULTIPLE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1102,7 +1102,7 @@ bool wxGenericFileDialog::Create( wxWindow *parent,
|
|||||||
mainsizer->Add( staticsizer, 0, wxEXPAND | wxLEFT|wxRIGHT|wxBOTTOM, 10 );
|
mainsizer->Add( staticsizer, 0, wxEXPAND | wxLEFT|wxRIGHT|wxBOTTOM, 10 );
|
||||||
|
|
||||||
long style2 = ms_lastViewStyle;
|
long style2 = ms_lastViewStyle;
|
||||||
if ( !HasFlag(wxFD_MULTIPLE) )
|
if ( style & wxFD_MULTIPLE == 0 )
|
||||||
style2 |= wxLC_SINGLE_SEL;
|
style2 |= wxLC_SINGLE_SEL;
|
||||||
|
|
||||||
#ifdef __WXWINCE__
|
#ifdef __WXWINCE__
|
||||||
|
Reference in New Issue
Block a user