From ffec5a52a81a6e33d0ff70bd87d249c824eff382 Mon Sep 17 00:00:00 2001 From: zeljko Date: Mon, 15 Sep 2008 17:17:07 +0000 Subject: [PATCH] Qt: fix latest patch, only DT_NOCLIP should be changed ... git-svn-id: trunk@16599 - --- lcl/interfaces/qt/qtwinapi.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/interfaces/qt/qtwinapi.inc b/lcl/interfaces/qt/qtwinapi.inc index 78ab3f95db..bf231dd2e1 100644 --- a/lcl/interfaces/qt/qtwinapi.inc +++ b/lcl/interfaces/qt/qtwinapi.inc @@ -1210,7 +1210,7 @@ begin if Flags and DT_SINGLELINE <> 0 then F := F or QtTextSingleLine; - if Flags and DT_NOPREFIX <> 0 then + if Flags and DT_NOPREFIX = 0 then F := F or QtTextShowMnemonic; if Flags and DT_NOCLIP <> 0 then