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:
@@ -302,7 +302,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
|
|||||||
|
|
||||||
if ( tool->IsButton() )
|
if ( tool->IsButton() )
|
||||||
{
|
{
|
||||||
wxBitmap bitmap = tool->GetBitmap1();
|
wxBitmap bitmap = tool->GetNormalBitmap();
|
||||||
|
|
||||||
wxCHECK_MSG( bitmap.Ok(), FALSE,
|
wxCHECK_MSG( bitmap.Ok(), FALSE,
|
||||||
wxT("invalid bitmap for wxToolBar icon") );
|
wxT("invalid bitmap for wxToolBar icon") );
|
||||||
|
@@ -302,7 +302,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
|
|||||||
|
|
||||||
if ( tool->IsButton() )
|
if ( tool->IsButton() )
|
||||||
{
|
{
|
||||||
wxBitmap bitmap = tool->GetBitmap1();
|
wxBitmap bitmap = tool->GetNormalBitmap();
|
||||||
|
|
||||||
wxCHECK_MSG( bitmap.Ok(), FALSE,
|
wxCHECK_MSG( bitmap.Ok(), FALSE,
|
||||||
wxT("invalid bitmap for wxToolBar icon") );
|
wxT("invalid bitmap for wxToolBar icon") );
|
||||||
|
Reference in New Issue
Block a user