]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for tooltip patch code applied by Julian and w32api
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 15 Dec 2003 21:43:59 +0000 (21:43 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 15 Dec 2003 21:43:59 +0000 (21:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/missing.h

index 8c347306c95036f29f38f6dc20dc244600bb6a5c..e8da5b96c699e08bf13578710a2ec0c9d536aadb 100644 (file)
@@ -430,6 +430,38 @@ typedef struct {
     #define TVM_SETTEXTCOLOR        (TV_FIRST + 30)
 #endif
 
+#ifndef TVN_GETINFOTIP
+    #ifdef UNICODE
+        #define TVN_GETINFOTIP TVN_GETINFOTIPW
+    #else
+        #define TVN_GETINFOTIP TVN_GETINFOTIPA
+    #endif
+#endif
+
+#ifndef NMTVGETINFOTIP
+    struct NMTVGETINFOTIPA
+    {
+        NMHDR     hdr;
+        LPSTR     pszText;
+        int       cchTextMax;
+        HTREEITEM hItem;
+        LPARAM    lParam;
+    };
+    struct NMTVGETINFOTIPW
+    {
+        NMHDR     hdr;
+        LPWSTR     pszText;
+        int       cchTextMax;
+        HTREEITEM hItem;
+        LPARAM    lParam;
+    };
+    #ifdef UNICODE
+        #define NMTVGETINFOTIP NMTVGETINFOTIPW
+    #else
+        #define NMTVGETINFOTIP NMTVGETINFOTIPA
+    #endif
+#endif
+
 // ----------------------------------------------------------------------------
 // Misc stuff
 // ----------------------------------------------------------------------------