From 980fa7ef7dac996cd0ddb7d855597839b257103c Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Wed, 25 Oct 2006 07:34:15 +0000 Subject: [PATCH] Fix test for wxFD_MULTIPLE. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/filedlgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index e1c5770f7d..ce6d0c0982 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -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__ -- 2.45.2