]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile error (no idea why Mingw doesn't like wxPoint())
authorRobert Roebling <robert@roebling.de>
Sat, 8 Sep 2007 18:08:14 +0000 (18:08 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 8 Sep 2007 18:08:14 +0000 (18:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index d145e5f1d957a2daefb622a60875d86084a75afb..850a15f17dda0f69688625234f5eaf22d3f57b6b 100644 (file)
@@ -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);