]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
corrected CodeWarrior project target names and generated application names
[wxWidgets.git] / src / msw / treectrl.cpp
index 5d48e4c93815db5107e3f9da8a64baeba25f5aad..5e20b78bb5c26135d1c65515d423863e6ea62a47 100644 (file)
@@ -2141,7 +2141,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
             }
             break;
 
-#if defined(_WIN32_IE) && _WIN32_IE >= 0x300 && !wxUSE_COMCTL32_SAFELY && !defined(__GNUWIN32__)
+#if defined(_WIN32_IE) && _WIN32_IE >= 0x300 && !wxUSE_COMCTL32_SAFELY && !( defined(__GNUWIN32__) && !wxCHECK_W32API_VERSION( 1, 0 ) )
         case NM_CUSTOMDRAW:
             {
                 LPNMTVCUSTOMDRAW lptvcd = (LPNMTVCUSTOMDRAW)lParam;