wxBitmapHandler *handler = FindHandler(type);
if ( handler == NULL ) {
- wxLogWarning("no bitmap handler for type %d defined.", type);
+ wxLogWarning("%s: no bitmap handler for type %d defined.", (const char*) filename, type);
return FALSE;
}
wxBitmapHandler *handler = FindHandler(type);
if ( handler == NULL ) {
- wxLogWarning("no bitmap handler for type %d defined.", type);
+ wxLogWarning("no data bitmap handler for type %d defined.", type);
return FALSE;
}
AddHandler(new wxXBMFileHandler);
AddHandler(new wxXBMDataHandler);
- // XPM is considered standard for Moif, although it can be omitted if absolutely
+ // XPM is considered standard for Motif, although it can be omitted if absolutely
// necessary.
#if wxUSE_XPM
AddHandler(new wxXPMFileHandler);