Fix harmless unused parameter warning in wxTaskBarIcon

See https://github.com/wxWidgets/wxWidgets/pull/92
This commit is contained in:
Vadim Zeitlin 2016-02-18 23:28:16 +01:00
parent 51b70c895e
commit 704c177e74

View File

@ -230,6 +230,8 @@ wxTaskBarIcon::ShowBalloon(const wxString& title,
wxStrlcpy(notifyData.szInfoTitle, title.t_str(),
WXSIZEOF(notifyData.szInfoTitle));
wxUnusedVar(icon); // It's only unused if not supported actually.
#ifdef NIIF_LARGE_ICON
// User specified icon is only supported since Vista
if ( icon.IsOk() && wxPlatformInfo::Get().CheckOSVersion(6, 0) )