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:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user