Simpler constructor available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9fd540edbc
commit
8079756869
@ -404,7 +404,7 @@ void wxPopupTransientWindow::OnIdle(wxIdleEvent& event)
|
||||
if (IsShown() && m_child)
|
||||
{
|
||||
wxPoint pos = ScreenToClient(wxGetMousePosition());
|
||||
wxRect rect(wxPoint(0,0), GetSize());
|
||||
wxRect rect(GetSize());
|
||||
|
||||
if ( rect.Inside(pos) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user