Exemple #1
0
		textbox& textbox::tip_string(const nana::string& str)
		{
			internal_scope_guard isg;
			auto editor = get_drawer_trigger().editor();
			if(editor && editor->tip_string(str))
				API::refresh_window(handle());
			return *this;
		}
Exemple #2
0
		textbox& textbox::tip_string(std::string str)
		{
			internal_scope_guard lock;
			auto editor = get_drawer_trigger().editor();
			if(editor && editor->tip_string(std::move(str)))
				API::refresh_window(handle());
			return *this;
		}