From 8e82435d703149541bff1bfbbf077f26ccd1ae2e Mon Sep 17 00:00:00 2001 From: Catalin Date: Mon, 6 Mar 2017 00:40:18 +0200 Subject: [PATCH] Keep `NIN_BALLOONxxx` checks and definitions. Apparently some gcc flavors (like g++ (GCC) 5.3.0 from AppVeyor) do not define these symbols. FWIW tdm-gcc-5.1.0 does not need them. This partially reverts commit 299a06c86e56c27970e1f24999196e5c388974cb. --- src/msw/taskbar.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index f40210841c..22583439bf 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -33,6 +33,11 @@ #include "wx/platinfo.h" #include "wx/msw/private.h" +#ifndef NIN_BALLOONTIMEOUT + #define NIN_BALLOONTIMEOUT 0x0404 + #define NIN_BALLOONUSERCLICK 0x0405 +#endif + // initialized on demand static UINT gs_msgTaskbar = 0; static UINT gs_msgRestartTaskbar = 0;