// --------------------------------------------------------------------------
// the application icon
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
// Make menus
m_menuFile = new wxMenu();
- m_menuFile->Append(CLIENT_ABOUT, _("&About...\tCtrl-A"), _("Show about dialog"));
+ m_menuFile->Append(CLIENT_ABOUT, _("&About\tCtrl-A"), _("Show about dialog"));
m_menuFile->AppendSeparator();
m_menuFile->Append(CLIENT_QUIT, _("E&xit\tAlt-X"), _("Quit client"));
}
// Print the contents type and file size
- wxLogMessage("Contents type: %s\nFile size: %i\nStarting to download...",
+ wxLogMessage("Contents type: %s\nFile size: %lu\nStarting to download...",
url.GetProtocol().GetContentType(),
- data->GetSize());
+ static_cast<unsigned long>( data->GetSize() ));
// Get the data
wxStringOutputStream sout;