X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/samples/memcheck/memcheck.cpp diff --git a/samples/memcheck/memcheck.cpp b/samples/memcheck/memcheck.cpp index e4c71458d6..511d8691e6 100644 --- a/samples/memcheck/memcheck.cpp +++ b/samples/memcheck/memcheck.cpp @@ -22,7 +22,7 @@ #include "wx/datetime.h" -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -86,7 +86,7 @@ bool MyApp::OnInit(void) #endif // object allocation - wxBrush* brush = new wxBrush(*wxRED); + wxBrush* brush = new wxBrush(*wxRED_BRUSH); wxBitmap* bitmap = new wxBitmap(100, 100); // non-object allocation