]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
Fix the size of the font returned from wxTextCtrl::GetStyle() in wxMSW.
[wxWidgets.git] / src / msw / taskbar.cpp
index dd6e1be58883a61de3f9ca0fbfad1de860a7100e..26db204d4153337108a7c332451a75bd1aa186af 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <string.h>
 #include "wx/taskbar.h"
+#include "wx/msw/private.h"
 #include "wx/dynlib.h"
 
 #ifndef NIN_BALLOONTIMEOUT
@@ -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);