diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp index ffd6c88c60..1a23a85040 100644 --- a/src/gtk/tbargtk.cpp +++ b/src/gtk/tbargtk.cpp @@ -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") ); diff --git a/src/gtk1/tbargtk.cpp b/src/gtk1/tbargtk.cpp index ffd6c88c60..1a23a85040 100644 --- a/src/gtk1/tbargtk.cpp +++ b/src/gtk1/tbargtk.cpp @@ -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") );