#include "wx/font.h" // for wxFont and wxFontEncoding
-#if defined(__WXMSW__)
+#if defined(__WXMSW__) && !defined(__PALMOS__)
#include "wx/msw/wrapwin.h"
#endif
// set the XFLD
void SetXFontName(const wxString& xFontName);
-#elif defined(__WXMSW__)
+#elif defined(__WXMSW__) && !defined(__PALMOS__)
LOGFONT lf;
#elif defined(__WXPM__)
// OS/2 native structures that define a font