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:
@@ -1110,10 +1110,12 @@ wxString wxFileTypeImpl::GetExpandedCommand(const wxString & verb, const wxFileT
|
||||
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
|
||||
|
||||
{
|
||||
#if wxUSE_GUI
|
||||
wxString sTmp;
|
||||
size_t i = 0;
|
||||
while ( (i < m_index.GetCount() ) && sTmp.IsEmpty() )
|
||||
@@ -1137,6 +1139,8 @@ bool wxFileTypeImpl::GetIcon(wxIcon *icon, wxString *iconFile /*= NULL */,
|
||||
if (iconIndex) *iconIndex = 0;
|
||||
return TRUE;
|
||||
}
|
||||
#endif // wxUSE_GUI
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user