don't strip &s from tooltips (patch 1488318)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-05-28 23:15:01 +00:00
parent 34deaa9362
commit c5d7205ca2

View File

@@ -199,9 +199,11 @@ WXHWND wxToolTip::GetToolTipCtrl()
{ {
if ( !ms_hwndTT ) 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, ms_hwndTT = (WXHWND)::CreateWindow(TOOLTIPS_CLASS,
(LPCTSTR)NULL, (LPCTSTR)NULL,
TTS_ALWAYSTIP, TTS_ALWAYSTIP | TTS_NOPREFIX,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
NULL, (HMENU)NULL, NULL, (HMENU)NULL,