hotfixes for 0.9

A workaround for VC2013 that matches incorrectly constructor by {}
This commit is contained in:
cnjinhao 2014-12-12 01:44:07 +08:00
parent d0a317bd45
commit 7bdf8a9f6b

View File

@ -129,7 +129,9 @@ namespace nana
void load(nana::string file);
void store(nana::string file);
void store(nana::string file, nana::unicode encoding);
textbox& reset(nana::string = {}); ///< discard the old text and set a newtext
//A workaround for reset, explicit default constructor syntax, because VC2013 incorrectly treats {} as {0}.
textbox& reset(nana::string = nana::string()); ///< discard the old text and set a newtext
/// The file of last store operation.
nana::string filename() const;