first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1417,7 +1417,10 @@ bool wxFileTypeImpl::GetExtensions(wxArrayString& extensions)
|
||||
// could adjust the code to ask confirmation if it already exists and
|
||||
// overwriteprompt is true, but this is currently ignored as *Associate* has
|
||||
// no overwrite prompt
|
||||
bool wxFileTypeImpl::SetCommand(const wxString& cmd, const wxString& verb, bool overwriteprompt /*= true*/)
|
||||
bool
|
||||
wxFileTypeImpl::SetCommand(const wxString& cmd,
|
||||
const wxString& verb,
|
||||
bool WXUNUSED(overwriteprompt))
|
||||
{
|
||||
wxArrayString strExtensions;
|
||||
wxString strDesc, strIcon;
|
||||
@@ -1441,7 +1444,7 @@ bool wxFileTypeImpl::SetCommand(const wxString& cmd, const wxString& verb, bool
|
||||
}
|
||||
|
||||
// ignore index on the grouds that we only have one icon in a Unix file
|
||||
bool wxFileTypeImpl::SetDefaultIcon(const wxString& strIcon /*= wxEmptyString*/, int /*index = 0*/)
|
||||
bool wxFileTypeImpl::SetDefaultIcon(const wxString& strIcon, int WXUNUSED(index))
|
||||
{
|
||||
if (strIcon.empty()) return false;
|
||||
wxArrayString strExtensions;
|
||||
|
Reference in New Issue
Block a user