]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/rotate/rotate.cpp
expat must be added to the template, not generated wxWindows.dsp
[wxWidgets.git] / samples / rotate / rotate.cpp
index c7eacc7ef7f78b292016bdbe8b8cf4be8a255db4..87b9a079602244a964f4813e6bd786a65aa4d3a4 100644 (file)
@@ -149,7 +149,7 @@ MyCanvas::MyCanvas(wxWindow* parent):
   wxScrolledWindow(parent, -1)
 {
     SetBackgroundColour (wxColour (0,80,60));
-    Clear();
+    ClearBackground();
 }
 
 // Rotate with interpolation and with offset correction