From cff4bee6fb05825a36c128b610a51a2a008b94e5 Mon Sep 17 00:00:00 2001 From: Jinhao Date: Fri, 24 Jun 2016 13:48:28 +0800 Subject: [PATCH] debug travis --- include/nana/gui/detail/drawer.hpp | 4 ++-- source/gui/detail/basic_window.cpp | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/nana/gui/detail/drawer.hpp b/include/nana/gui/detail/drawer.hpp index 472f822e..02fc90cb 100644 --- a/include/nana/gui/detail/drawer.hpp +++ b/include/nana/gui/detail/drawer.hpp @@ -148,8 +148,8 @@ namespace nana //Check realizer, when the window is closed in that event handler, the drawer will be //detached and realizer will be a nullptr - if (realizer) - mth_state = (realizer->_m_overrided(evt_code) ? method_state::overrided : method_state::not_overrided); + //if (realizer) + // mth_state = (realizer->_m_overrided(evt_code) ? method_state::overrided : method_state::not_overrided); } else (realizer->*mfptr)(graphics, arg); diff --git a/source/gui/detail/basic_window.cpp b/source/gui/detail/basic_window.cpp index 873a32ae..0a5542fe 100644 --- a/source/gui/detail/basic_window.cpp +++ b/source/gui/detail/basic_window.cpp @@ -216,8 +216,6 @@ namespace nana switch(categ) { case category::flags::root: - attribute.root = new attr_root_tag; - delete attribute.root; attribute.root = new attr_root_tag; std::cout<<"basic_window: create attr root "<