int wxGenericDirCtrl::ParseFilter(const wxString& filterStr, wxArrayString& filters, wxArrayString& descriptions)
{
-#if wxUSE_FILEDLG
return wxFileDialogBase::ParseWildcard(filterStr, descriptions, filters );
-#else
- return 0;
-#endif
}
void wxGenericDirCtrl::DoResize()
wxIconLocation iconLoc;
wxIcon ic;
- if ( ft && ft->GetIcon(&iconLoc) )
+
{
- ic = wxIcon(iconLoc);
+ wxLogNull logNull;
+ if ( ft && ft->GetIcon(&iconLoc) )
+ {
+ ic = wxIcon(iconLoc);
+ }
}
delete ft;