]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/missing.h
Added wxAppTraits::CreateGSocket() as well as implementations for wxBase and
[wxWidgets.git] / include / wx / msw / missing.h
index e8da5b96c699e08bf13578710a2ec0c9d536aadb..3caf5355f2b0df844771906ce75e7a0b2635732e 100644 (file)
@@ -430,6 +430,11 @@ typedef struct {
     #define TVM_SETTEXTCOLOR        (TV_FIRST + 30)
 #endif
 
+#ifndef TVN_GETINFOTIPA
+    #define TVN_GETINFOTIPA    (TVN_FIRST-13)
+    #define TVN_GETINFOTIPW    (TVN_FIRST-14) 
+#endif
+
 #ifndef TVN_GETINFOTIP
     #ifdef UNICODE
         #define TVN_GETINFOTIP TVN_GETINFOTIPW
@@ -438,7 +443,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
+    //     <commctrl.h> (which defined HTREEITEM) wasn't included before.
     struct NMTVGETINFOTIPA
     {
         NMHDR     hdr;