]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/poem/wxpoem.cpp
compilation fix for FALSE -> wxItemKind conversion
[wxWidgets.git] / demos / poem / wxpoem.cpp
index 3866bdef482e6a015f79334fbd9e5ce574ca2732..8550d6d261bf89dcf3f96a6a677d2585ca412eba 100644 (file)
@@ -727,9 +727,12 @@ void MyCanvas::OnPaint(wxPaintEvent& WXUNUSED(event))
         int xx, yy;
         TheMainWindow->GetClientSize(&xx, &yy);
 
+        dc.DrawBitmap(* backingBitmap, 0, 0);
+#if 0        
         wxMemoryDC memDC;
         memDC.SelectObject(* backingBitmap);
         dc.Blit(0, 0, backingBitmap->GetWidth(), backingBitmap->GetHeight(), &memDC, 0, 0);
+#endif
   }
 }