From c4772f1727a3c15daffeb7da1dc7ef4788ebd02c Mon Sep 17 00:00:00 2001 From: ptv Date: Thu, 30 Nov 2006 08:48:26 +0000 Subject: [PATCH] remove regression on ContextHelp button --- src/Qtx/QtxDialog.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Qtx/QtxDialog.cxx b/src/Qtx/QtxDialog.cxx index c52cb85fe..85c362d16 100755 --- a/src/Qtx/QtxDialog.cxx +++ b/src/Qtx/QtxDialog.cxx @@ -422,7 +422,12 @@ QtxDialog::QtxDialog( QWidget* parent, const char* name, #else WStyle_NormalBorder | #endif - ( allowResize ? WStyle_Maximize : 0 ) ), + ( ( allowResize +#ifdef WIN32 + // in qwidget_win.cpp flag WStyle_ContextHelp will be unset in WStyle_MinMax in switched ON + && !( wf & WStyle_ContextHelp ) +#endif + ) ? WStyle_Maximize : 0 ) ), mySender( 0 ), myAlignment( 0 ), myInited( false ), -- 2.39.2