X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/600683ca0561c9d56e73f1faa3f21d8a6670936b..05d89f2c0b85eb33c4818430e6cbf5355b6ac50f:/samples/rotate/rotate.cpp diff --git a/samples/rotate/rotate.cpp b/samples/rotate/rotate.cpp index c7eacc7ef7..3a11213e83 100644 --- a/samples/rotate/rotate.cpp +++ b/samples/rotate/rotate.cpp @@ -21,6 +21,7 @@ #endif #include "wx/image.h" +#include "wx/numdlg.h" /* GRG: This is not ANSI standard, define M_PI explicitly #include // M_PI @@ -149,7 +150,7 @@ MyCanvas::MyCanvas(wxWindow* parent): wxScrolledWindow(parent, -1) { SetBackgroundColour (wxColour (0,80,60)); - Clear(); + ClearBackground(); } // Rotate with interpolation and with offset correction