-
-#if wxCHECK_VERSION(2,3,0) || (defined(__WXMSW__) && wxUSE_OWNER_DRAWN)
- if (HasParam(wxT("bitmap")))
- mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
+
+#if (!defined(__WXMSW__) && !defined(__WXPM__)) || wxUSE_OWNER_DRAWN
+ if (HasParam(wxT("bitmap")))
+ mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));