fixed wxBase compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-05-24 21:36:41 +00:00
parent 8efab359f7
commit c786f76365

View File

@@ -1110,10 +1110,12 @@ wxString wxFileTypeImpl::GetExpandedCommand(const wxString & verb, const wxFileT
return wxFileType::ExpandCommand(sTmp, params); return wxFileType::ExpandCommand(sTmp, params);
} }
bool wxFileTypeImpl::GetIcon(wxIcon *icon, wxString *iconFile /*= NULL */, bool wxFileTypeImpl::GetIcon(wxIcon *icon,
wxString *iconFile /*= NULL */,
int *iconIndex /*= NULL*/) const int *iconIndex /*= NULL*/) const
{ {
#if wxUSE_GUI
wxString sTmp; wxString sTmp;
size_t i = 0; size_t i = 0;
while ( (i < m_index.GetCount() ) && sTmp.IsEmpty() ) while ( (i < m_index.GetCount() ) && sTmp.IsEmpty() )
@@ -1137,8 +1139,10 @@ bool wxFileTypeImpl::GetIcon(wxIcon *icon, wxString *iconFile /*= NULL */,
if (iconIndex) *iconIndex = 0; if (iconIndex) *iconIndex = 0;
return TRUE; return TRUE;
} }
#endif // wxUSE_GUI
return FALSE; return FALSE;
} }
bool bool