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:
Włodzimierz Skiba 2005-04-15 16:44:31 +00:00
parent 9fd540edbc
commit 8079756869

View File

@ -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) )
{