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:
parent
8377a10750
commit
980fa7ef7d
@ -1102,7 +1102,7 @@ bool wxGenericFileDialog::Create( wxWindow *parent,
|
||||
mainsizer->Add( staticsizer, 0, wxEXPAND | wxLEFT|wxRIGHT|wxBOTTOM, 10 );
|
||||
|
||||
long style2 = ms_lastViewStyle;
|
||||
if ( !HasFlag(wxFD_MULTIPLE) )
|
||||
if ( style & wxFD_MULTIPLE == 0 )
|
||||
style2 |= wxLC_SINGLE_SEL;
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
|
Loading…
Reference in New Issue
Block a user