]> git.saurik.com Git - wxWidgets.git/commitdiff
removed Julian's hack that is no longer needed after wxBitmap stubs were added even...
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 20 Mar 2006 23:25:48 +0000 (23:25 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 20 Mar 2006 23:25:48 +0000 (23:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xmlres.cpp

index 1de0a1ddfc8455b65fb9b60335fcf74b8652ad05..5a82615c3a974b4b82b34d2792709845ec27050e 100644 (file)
@@ -1104,11 +1104,7 @@ wxBitmap wxXmlResourceHandler::GetBitmap(const wxString& param,
         return wxNullBitmap;
     }
     if (!(size == wxDefaultSize)) img.Rescale(size.x, size.y);
-#if !defined(__WXMSW__) || wxUSE_WXDIB
     return wxBitmap(img);
-#else
-    return wxBitmap();
-#endif
 }