diff --git a/src/common/resource.cpp b/src/common/resource.cpp index de02d6a71f..c20116ff03 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -2645,7 +2645,7 @@ wxIcon wxResourceCreateIcon(const wxString& resource, wxResourceTable *table) } default: { -#ifdef __WXGTK__ +#if defined( __WXGTK__ ) || defined( __WXMOTIF__ ) wxLogWarning(_("Icon resource specification %s not found."), (const wxChar*) resource); break; #else