compilation fix for WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0e04ef47f6
commit
3a72b4eff0
@ -302,7 +302,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
|
||||
|
||||
if ( tool->IsButton() )
|
||||
{
|
||||
wxBitmap bitmap = tool->GetBitmap1();
|
||||
wxBitmap bitmap = tool->GetNormalBitmap();
|
||||
|
||||
wxCHECK_MSG( bitmap.Ok(), FALSE,
|
||||
wxT("invalid bitmap for wxToolBar icon") );
|
||||
|
@ -302,7 +302,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
|
||||
|
||||
if ( tool->IsButton() )
|
||||
{
|
||||
wxBitmap bitmap = tool->GetBitmap1();
|
||||
wxBitmap bitmap = tool->GetNormalBitmap();
|
||||
|
||||
wxCHECK_MSG( bitmap.Ok(), FALSE,
|
||||
wxT("invalid bitmap for wxToolBar icon") );
|
||||
|
Loading…
Reference in New Issue
Block a user