[PATCH] Use BaseWindow.set_warning and set_error in GUIObject's methods