]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/taskbar.cpp
Use the data scheme to load resources in the WebKitGTK+ implementation, rather than...
[wxWidgets.git] / src / msw / taskbar.cpp
index a2d2d8e0878a38abb6cb8b7186d2fbedbc45261b..26db204d4153337108a7c332451a75bd1aa186af 100644 (file)
     #include "wx/frame.h"
     #include "wx/utils.h"
     #include "wx/menu.h"
+    #include "wx/app.h"
 #endif
 
 #include "wx/msw/wrapshl.h"
 
 #include <string.h>
 #include "wx/taskbar.h"
+#include "wx/msw/private.h"
 #include "wx/dynlib.h"
 
 #ifndef NIN_BALLOONTIMEOUT
@@ -55,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
 
@@ -213,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);