Cured some Latex problems; fixed i declaration; fixed filedlg.cpp

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-02-03 10:01:34 +00:00
parent eefe541967
commit 4dba84be23
10 changed files with 68 additions and 35 deletions

View File

@@ -241,7 +241,11 @@ int wxFileDialog::ShowModal(void)
*/
//=======================================================================
wxString theFilter = ( Strlen(m_wildCard) == 0 ) ? wxString("*.*") : m_wildCard;
wxString theFilter;
if ( Strlen(m_wildCard) == 0 )
theFilter = wxString("*.*");
else
theFilter = m_wildCard ;
wxString filterBuffer;
if ( !strchr( theFilter, '|' ) ) { // only one filter ==> default text