X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0b223a1483141d4a6535af46141943f30e5a40b..399b60a0ad232265cd74ce8bf6a53a1f2cc57ff2:/src/common/resource.cpp?ds=inline diff --git a/src/common/resource.cpp b/src/common/resource.cpp index b162f9abcc..27305db69a 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -2477,7 +2477,9 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table return wxBitmap(name, bitmapType); } } - return wxNullBitmap; +#ifndef __WXGTK__ + return wxNullBitmap; +#endif } else {