Old API clearly deprecated. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,6 +114,30 @@ bool wxToolBarToolBase::SetLongHelp(const wxString& help)
|
||||
return true;
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
|
||||
const wxBitmap& wxToolBarToolBase::GetBitmap1() const
|
||||
{
|
||||
return GetNormalBitmap();
|
||||
}
|
||||
|
||||
const wxBitmap& wxToolBarToolBase::GetBitmap2() const
|
||||
{
|
||||
return GetDisabledBitmap();
|
||||
}
|
||||
|
||||
void wxToolBarToolBase::SetBitmap1(const wxBitmap& bmp)
|
||||
{
|
||||
SetNormalBitmap(bmp);
|
||||
}
|
||||
|
||||
void wxToolBarToolBase::SetBitmap2(const wxBitmap& bmp)
|
||||
{
|
||||
SetDisabledBitmap(bmp);
|
||||
}
|
||||
|
||||
#endif // WXWIN_COMPATIBILITY_2_2
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxToolBarBase adding/deleting items
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user