From: ptv Date: Thu, 30 Nov 2006 08:48:26 +0000 (+0000) Subject: remove regression on ContextHelp button X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4772f1727a3c15daffeb7da1dc7ef4788ebd02c;p=modules%2Fgui.git remove regression on ContextHelp button --- 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 ),