From 6a96d93ea591a57b441544607042ccb7ddc71e9f Mon Sep 17 00:00:00 2001 From: stv Date: Tue, 26 Sep 2006 09:52:34 +0000 Subject: [PATCH] Button "Maximize" added to resizeable dialogs. --- src/Qtx/QtxDialog.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Qtx/QtxDialog.cxx b/src/Qtx/QtxDialog.cxx index 2554511a4..c52cb85fe 100755 --- a/src/Qtx/QtxDialog.cxx +++ b/src/Qtx/QtxDialog.cxx @@ -416,12 +416,13 @@ QSize QtxDialog::Border::minimumSizeHint() const QtxDialog::QtxDialog( QWidget* parent, const char* name, bool modal, bool allowResize, const int f, WFlags wf ) : QDialog( parent, name, modal, -#ifdef WIN32 wf | WStyle_Customize | WStyle_Title | WStyle_SysMenu | - ( allowResize ? WStyle_NormalBorder : WStyle_NoBorderEx ) ), +#ifdef WIN32 + ( allowResize ? WStyle_NormalBorder : WStyle_NoBorderEx ) | #else - wf | WStyle_NormalBorder | WStyle_Customize | WStyle_Title | WStyle_SysMenu ), + WStyle_NormalBorder | #endif + ( allowResize ? WStyle_Maximize : 0 ) ), mySender( 0 ), myAlignment( 0 ), myInited( false ), -- 2.39.2