X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9cedab372ea48d9f5fd7423646f6d51d8b3f906f..009a066588622dd8d07343756b3e0922d2c9ebd4:/src/generic/filedlgg.cpp diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 6a94ee3f86..3890805a6d 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -1126,13 +1126,13 @@ wxFileDialog::wxFileDialog(wxWindow *parent, staticsizer->Add( m_static, 1 ); mainsizer->Add( staticsizer, 0, wxEXPAND | wxLEFT|wxRIGHT|wxBOTTOM, 10 ); - long style = ms_lastViewStyle | wxSUNKEN_BORDER; + long style2 = ms_lastViewStyle | wxSUNKEN_BORDER; if ( !(m_dialogStyle & wxMULTIPLE) ) - style |= wxLC_SINGLE_SEL; + style2 |= wxLC_SINGLE_SEL; m_list = new wxFileCtrl( this, ID_LIST_CTRL, firstWild, ms_lastShowHidden, wxDefaultPosition, wxSize(540,200), - style); + style2); m_list->SetNewDirControl(butNewDir); m_list->SetGoToParentControl(butDirUp);