X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86ad5903b94d00e7c7625a705f6cd22301607ccd..beee38cb41aa2ce4fbe9052bf4f70e1be184b553:/src/msw/taskbar.cpp diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index 8e98935c90..26db204d41 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -31,6 +31,7 @@ #include #include "wx/taskbar.h" +#include "wx/msw/private.h" #include "wx/dynlib.h" #ifndef NIN_BALLOONTIMEOUT @@ -56,9 +57,9 @@ #ifndef NOTIFYICONDATA_V2_SIZE #ifdef UNICODE - #define NOTIFYICONDATA_V2_SIZE 0x03A8; + #define NOTIFYICONDATA_V2_SIZE 0x03A8 #else - #define NOTIFYICONDATA_V2_SIZE 0x01E8; + #define NOTIFYICONDATA_V2_SIZE 0x01E8 #endif #endif @@ -214,7 +215,7 @@ bool wxTaskBarIcon::SetIcon(const wxIcon& icon, const wxString& tooltip) NotifyIconData notifyData(GetHwndOf(m_win)); - if (icon.Ok()) + if (icon.IsOk()) { notifyData.uFlags |= NIF_ICON; notifyData.hIcon = GetHiconOf(icon);