rem: if (this.getShowMaximize()) 
add: if (this.getShowMaximize() && !this.getModal()) 
context: proto._modifyElement = function(propValue, propOldValue, propName, uniqModIds){  if (propValue)  {    // this will add the class QxAtomBase to all widgets    // which extends QxAtom.    this._addCssClassName("QxAtomBase");    // Create icon if needed.    if (this._displayIcon && !this._icon) {      this._pureCreateFillIcon();    };    // Create caption if needed.    if (this._displayCaption && !this._caption) {      this._pureCreateFillCaption();    };    // Create Buttons if needed.    if (this.getShowMinimize() && !this._minimizeButton) {      this._pureCreateFillMinimizeButton();    };    if (this.getShowMaximize())    {      if (!this._restoreButton) {        this._pureCreateFillRestoreButton();      };      if (!this._maximizeButton) {        this._pureCreateFillMaximizeButton();      };    };    if (this.getShowClose() && !this._closeButton) {      this._pureCreateFillCloseButton();    };  };  return QxWidget.prototype._modifyElement.call(this, propValue, propOldValue, propName, uniqModIds);};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/387976533974f5bc538df8f5346bcf1ac682db48/QxWindow.js/clean/qooxdoo/source/script/widgets/QxWindow.js