]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/popupcmn.cpp
Applied patch [ 1183157 ] Compilation with GCC 4.0
[wxWidgets.git] / 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) )
         {