X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4453b38d02752a7e9f44a89fe3348e97c2ab1c5f..cffdf649a919b21a92a1af68357a87bbc79e8bb0:/src/msw/tooltip.cpp diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index 8fde93e577..8ca70b9ff3 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -199,9 +199,11 @@ WXHWND wxToolTip::GetToolTipCtrl() { if ( !ms_hwndTT ) { + // we want to show the tooltips always (even when the window is not + // active) and we don't want to strip "&"s from them ms_hwndTT = (WXHWND)::CreateWindow(TOOLTIPS_CLASS, (LPCTSTR)NULL, - TTS_ALWAYSTIP, + TTS_ALWAYSTIP | TTS_NOPREFIX, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, (HMENU)NULL,