Merge branch 'hotfixes-1.0.1' of https://github.com/qPCR4vir/nana into qPCR4vir-hotfixes-1.0.1

This commit is contained in:
Jinhao 2015-04-10 00:50:41 +08:00
commit 2682eff4e9

View File

@ -739,12 +739,12 @@ namespace nana
int rectangle::right() const
{
return static_cast<int>(x + width);
return x + static_cast<int>(width);
}
int rectangle::bottom() const
{
return static_cast<int>(y + height);
return y + static_cast<int>(height);
}
bool rectangle::is_hit(int pos_x, int pos_y) const