rem:  ob._shouldBecomeCreated = function() { 
add:  ob._shouldBecomeCreated = function() { 
context: proto._pureCreateFillRestoreButton = function(){  var ob = this._restoreButton = new QxButton(null, "widgets/window/restore.gif");  ob.set({ top: 0, height: 15, width: 16, tabIndex : -1 });  ob.addEventListener("click", this._onrestorebuttonclick, this);  ob.addEventListener("mousedown", this._onbuttonmousedown, this);    this._applyAllowMaximize();    ob._shouldBecomeCreated = function() {     return this.getParent().getParent().getState() == "maximized";  };    this._captionbar.add(ob);  };
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/3cf914e288956daee0598f5709e2fa9cf057b56d/QxWindow.js/buggy/qooxdoo/source/script/widgets/QxWindow.js