remove physical dependency between msgbox and filebox

This commit is contained in:
Jinhao
2015-03-11 03:45:22 +08:00
parent 0df28e13e1
commit a8573fe5ef
3 changed files with 6 additions and 9 deletions

View File

@@ -11,6 +11,7 @@
*/
#include <nana/gui.hpp>
#include <nana/gui/filebox.hpp>
#include <nana/filesystem/fs_utility.hpp>
#if defined(NANA_WINDOWS)

View File

@@ -21,6 +21,7 @@
#include <nana/gui/place.hpp>
#include <nana/datetime.hpp>
#include <nana/internationalization.hpp>
#include <nana/gui/filebox.hpp>
#include <functional>
#if defined(NANA_WINDOWS)
#include <windows.h>
@@ -354,10 +355,6 @@ namespace nana
: wd_(nullptr), title_(title), button_(ok), icon_(icon_none)
{}
msgbox::msgbox(window wd, const nana::string& title)
: wd_(wd), title_(title), button_(ok), icon_(icon_none)
{}
msgbox::msgbox(window wd, const nana::string& title, button_t b)
: wd_(wd), title_(title), button_(b), icon_(icon_none)
{}