add various overlodings for widget::caption()

This commit is contained in:
Jinhao
2015-12-01 01:17:06 +08:00
parent 83161a3843
commit ed4d2af7dd
6 changed files with 51 additions and 14 deletions

View File

@@ -52,8 +52,8 @@ namespace nana
struct traceable
{
nana::rectangle r;
nana::string target;
nana::string url;
std::wstring target;
std::wstring url;
};
public:
@@ -148,7 +148,7 @@ namespace nana
graph.typeface(ft);
}
bool find(int x, int y, nana::string& target, nana::string& url) const
bool find(int x, int y, std::wstring& target, std::wstring& url) const
{
for (auto & t : traceable_)
{