From: Václav Slavík Date: Mon, 15 Dec 2003 21:50:56 +0000 (+0000) Subject: compilation fix for tooltip patch code applied by Julian and w32api X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/30803ef18f152e221df8f6d2891d14e7f2515655?ds=inline compilation fix for tooltip patch code applied by Julian and w32api git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index e8da5b96c6..3c062e04f0 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -438,7 +438,9 @@ typedef struct { #endif #endif -#ifndef NMTVGETINFOTIP +#if !defined(NMTVGETINFOTIP) && defined(TVN_FIRST) + // NB: Check for TVN_FIRST is done so that this code is not included if + // (which defined HTREEITEM) wasn't included before. struct NMTVGETINFOTIPA { NMHDR hdr;