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:
Robert Roebling 2006-10-25 07:34:15 +00:00
parent 8377a10750
commit 980fa7ef7d

View File

@ -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__