X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cb332c1553bb977cb8db16c19c733684ef72805..8e125ff1145c4c3154a59efe3e60c58a7fd0861d:/samples/memcheck/memcheck.cpp diff --git a/samples/memcheck/memcheck.cpp b/samples/memcheck/memcheck.cpp index 6468754414..511d8691e6 100644 --- a/samples/memcheck/memcheck.cpp +++ b/samples/memcheck/memcheck.cpp @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx.h". @@ -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