+ const HWND hwnd = GetHwndOf(m_win);
+
+ // we need to enable version 5.0 behaviour to receive notifications about
+ // the balloon disappearance
+ NotifyIconData notifyData(hwnd);
+ notifyData.uFlags = 0;
+ notifyData.uVersion = 3 /* NOTIFYICON_VERSION for Windows XP */;
+
+ wxShellNotifyIcon(NIM_SETVERSION, ¬ifyData);
+
+
+ // do show the balloon now
+ notifyData = NotifyIconData(hwnd);