// 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
bitmap = wxBitmap(mobile_xpm);
bool ok = frame->m_isPda
- ? bitmap.Ok()
+ ? bitmap.IsOk()
: bitmap.LoadFile(wxT("splash.png"), wxBITMAP_TYPE_PNG);
if (ok)
// the "About" item should be in the help menu
wxMenu *helpMenu = new wxMenu;
- helpMenu->Append(wxID_ABOUT, wxT("&About...\tF1"), wxT("Show about frame"));
+ helpMenu->Append(wxID_ABOUT, wxT("&About\tF1"), wxT("Show about frame"));
menuFile->Append(wxID_EXIT, wxT("E&xit\tAlt-X"), wxT("Quit this program"));
if (m_isPda) bitmap = wxBitmap(mobile_xpm);
bool ok = m_isPda
- ? bitmap.Ok()
+ ? bitmap.IsOk()
: bitmap.LoadFile(wxT("splash.png"), wxBITMAP_TYPE_PNG);
if (ok)