]> git.saurik.com Git - wxWidgets.git/commitdiff
Suppressed error when loading colour bitmap since there's fallback code
authorJulian Smart <julian@anthemion.co.uk>
Sat, 21 May 2005 16:36:49 +0000 (16:36 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 21 May 2005 16:36:49 +0000 (16:36 +0000)
(patch 1206066)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 74f33c7a39fc9f751a3048a638e067d849cc498e..031585be7c91008497c3525232f69ad784d2a165 100644 (file)
@@ -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() )
             {