X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/889f0b7c67f207f230d8bf9f558ae35445d57e10..6beb85c0d32d2bca8520feb7e100a6f612720a53:/src/msw/combobox.cpp diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index fafda5dd76..a7062aaff4 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -41,7 +41,7 @@ #include "wx/msw/private.h" #if wxUSE_TOOLTIPS - #ifndef __GNUWIN32_OLD__ + #if !defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__) #include #endif #include "wx/tooltip.h" @@ -115,7 +115,7 @@ LRESULT APIENTRY _EXPORT wxComboEditWndProc(HWND hWnd, #endif // 0 // deal with tooltips here -#if wxUSE_TOOLTIPS +#if wxUSE_TOOLTIPS && defined(TTN_NEEDTEXT) case WM_NOTIFY: { wxCHECK_MSG( win, 0, _T("should have a parent") );