#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
#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
NotifyIconData notifyData(GetHwndOf(m_win));
- if (icon.Ok())
+ if (icon.IsOk())
{
notifyData.uFlags |= NIF_ICON;
notifyData.hIcon = GetHiconOf(icon);