// the application icon (under Windows and OS/2 it is in resources and even
// though we could still include the XPM here it would be unused)
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
dc.SetPen(*wxBLACK_PEN);
dc.DrawLine(xpos, ypos, pt.x, pt.y);
}
- }
- xpos = pt.x;
- ypos = pt.y;
+ xpos = pt.x;
+ ypos = pt.y;
+ }
#if wxUSE_STATUSBAR
wxString buf;