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:
@@ -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() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user