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
This commit is contained in:
Julian Smart
2005-05-21 16:36:49 +00:00
parent caf3e97f15
commit e5dbcb50a4

View 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() )
{