// --------------------------------------------------------------------------
// the application icon
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
}
// 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;