From 577579933d98787229fd5a197cd9bdc8798c9bc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 20 Mar 2006 23:25:48 +0000 Subject: [PATCH 1/1] removed Julian's hack that is no longer needed after wxBitmap stubs were added even for DIB-less build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/xrc/xmlres.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index 1de0a1ddfc..5a82615c3a 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -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 } -- 2.45.2