Fix harmless unused parameter warning in wxTaskBarIcon
See https://github.com/wxWidgets/wxWidgets/pull/92
This commit is contained in:
parent
51b70c895e
commit
704c177e74
@ -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) )
|
||||
|
Loading…
Reference in New Issue
Block a user