git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14747
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( tool->IsButton() )
{
if ( tool->IsButton() )
{
- wxBitmap bitmap = tool->GetBitmap1();
+ wxBitmap bitmap = tool->GetNormalBitmap();
wxCHECK_MSG( bitmap.Ok(), FALSE,
wxT("invalid bitmap for wxToolBar icon") );
wxCHECK_MSG( bitmap.Ok(), FALSE,
wxT("invalid bitmap for wxToolBar icon") );
if ( tool->IsButton() )
{
if ( tool->IsButton() )
{
- wxBitmap bitmap = tool->GetBitmap1();
+ wxBitmap bitmap = tool->GetNormalBitmap();
wxCHECK_MSG( bitmap.Ok(), FALSE,
wxT("invalid bitmap for wxToolBar icon") );
wxCHECK_MSG( bitmap.Ok(), FALSE,
wxT("invalid bitmap for wxToolBar icon") );