#include "wx/datetime.h"
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
#endif
// object allocation
- wxBrush* brush = new wxBrush(*wxRED);
+ wxBrush* brush = new wxBrush(*wxRED_BRUSH);
wxBitmap* bitmap = new wxBitmap(100, 100);
// non-object allocation