]> git.saurik.com Git - wxWidgets.git/commitdiff
Simpler constructor available.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 15 Apr 2005 16:44:31 +0000 (16:44 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 15 Apr 2005 16:44:31 +0000 (16:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/popupcmn.cpp

index b4803861243fb4681b7c5d5074022e7a49af5fbb..5e6586bb3ccf48ec1c3504ce1afafc9fcd97acc7 100644 (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) )
         {