]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
Create(): use wxAutoNSAutoreleasePool
[wxWidgets.git] / src / msw / dc.cpp
index 87465c833091a1f861ce124ee6366118f5d9ce1a..92af78fd5374fc93b92dd6bf04ec31843f09ca25 100644 (file)
@@ -787,7 +787,7 @@ wxDC::DoDrawPolyPolygon(int n,
                         int fillStyle)
 {
 #ifdef __WXWINCE__
-    wxDCBase::DoDrawPolyPolygon(n, start, points, xoffset, yoffset, fillStyle);
+    wxDCBase::DoDrawPolyPolygon(n, count, points, xoffset, yoffset, fillStyle);
 #else    
     WXMICROWIN_CHECK_HDC
 
@@ -2093,7 +2093,11 @@ bool wxDC::DoBlit(wxCoord xdest, wxCoord ydest,
                                      SRCCOPY
                                      ) == (int)GDI_ERROR )
                 {
-                    wxLogLastError(wxT("StretchDIBits"));
+                    // On Win9x this API fails most (all?) of the time, so
+                    // logging it becomes quite distracting.  Since it falls
+                    // back to the code below this is not really serious, so
+                    // don't log it.                     
+                    //wxLogLastError(wxT("StretchDIBits"));
                 }
                 else
                 {