From: Robert Roebling Date: Sat, 8 Sep 2007 18:08:14 +0000 (+0000) Subject: Compile error (no idea why Mingw doesn't like wxPoint()) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/66e2ba91b27a5867ef46cc16049c2a7c61c811f1 Compile error (no idea why Mingw doesn't like wxPoint()) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index d145e5f1d9..850a15f17d 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -4705,7 +4705,7 @@ bool wxWindowMSW::HandleMoving(wxRect& rect) bool wxWindowMSW::HandleEnterSizeMove() { - wxMoveEvent event(wxPoint(), m_windowId); + wxMoveEvent event(wxPoint(0,0), m_windowId); event.SetEventType(wxEVT_MOVE_START); event.SetEventObject(this); @@ -4714,7 +4714,7 @@ bool wxWindowMSW::HandleEnterSizeMove() bool wxWindowMSW::HandleExitSizeMove() { - wxMoveEvent event(wxPoint(), m_windowId); + wxMoveEvent event(wxPoint(0,0), m_windowId); event.SetEventType(wxEVT_MOVE_END); event.SetEventObject(this);