31 lines
		
	
	
		
			738 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			738 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 *	Nana GUI Library Definition
 | 
						|
 *	Copyright(C) 2003-2015 Jinhao(cnjinhao@hotmail.com)
 | 
						|
 *
 | 
						|
 *	Distributed under the Boost Software License, Version 1.0. 
 | 
						|
 *	(See accompanying file LICENSE_1_0.txt or copy at 
 | 
						|
 *	http://www.boost.org/LICENSE_1_0.txt)
 | 
						|
 *
 | 
						|
 *	@file: nana/gui/wvl.cpp
 | 
						|
 *	@description:
 | 
						|
 *		the file contains the files required for running of Nana.GUI 
 | 
						|
 */
 | 
						|
 | 
						|
#include <nana/gui/wvl.hpp>
 | 
						|
#include <nana/gui/detail/bedrock.hpp>
 | 
						|
namespace nana
 | 
						|
{
 | 
						|
	namespace detail
 | 
						|
	{
 | 
						|
		void form_loader_private::insert_form(::nana::widget* p)
 | 
						|
		{
 | 
						|
			bedrock::instance().manage_form_loader(reinterpret_cast<basic_window*>(p->handle()), true);
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	void exec()
 | 
						|
	{
 | 
						|
		detail::bedrock::instance().pump_event(nullptr, false);
 | 
						|
	}
 | 
						|
}//end namespace nana
 |