Fix comment for ui::PopupWindow::setHotRegion() member function

This commit is contained in:
David Capello 2015-12-17 15:46:13 -03:00
parent a3e77a657a
commit 6ec07d5e10
2 changed files with 2 additions and 4 deletions

View File

@ -43,10 +43,6 @@ PopupWindow::~PopupWindow()
stopFilteringMessages();
}
/**
* @param region The new hot-region. This pointer is holded by the @a widget.
* So you cannot destroy it after calling this routine.
*/
void PopupWindow::setHotRegion(const gfx::Region& region)
{
startFilteringMessages();

View File

@ -30,6 +30,8 @@ namespace ui {
EnterBehavior enterBehavior = EnterBehavior::CloseOnEnter);
~PopupWindow();
// Sets the hot region. This region indicates the area where the
// mouse can be located and the window will be kept open.
void setHotRegion(const gfx::Region& region);
void setClickBehavior(ClickBehavior behavior);
void setEnterBehavior(EnterBehavior behavior);