From: Julian Smart Date: Sat, 21 May 2005 16:36:49 +0000 (+0000) Subject: Suppressed error when loading colour bitmap since there's fallback code X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e5dbcb50a4fc20fa472be523d8c5606587a1ae5e?ds=inline Suppressed error when loading colour bitmap since there's fallback code (patch 1206066) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 74f33c7a39..031585be7c 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -3932,6 +3932,7 @@ extern wxCOLORMAP *wxGetStdColourMap() // we want to avoid Windows' "help" and for this we need to have a // reference bitmap which can tell us what the RGB values change // to. + wxLogNull logNo; // suppress error if we couldn't load the bitmap wxBitmap stdColourBitmap(_T("wxBITMAP_STD_COLOURS")); if ( stdColourBitmap.Ok() ) {