change longs used for bitmap types to wxBitmapType (#9126)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -68,7 +68,7 @@ wxIconBundle::wxIconBundle()
|
||||
{
|
||||
}
|
||||
|
||||
wxIconBundle::wxIconBundle(const wxString& file, long type)
|
||||
wxIconBundle::wxIconBundle(const wxString& file, wxBitmapType type)
|
||||
: wxGDIObject()
|
||||
{
|
||||
AddIcon(file, type);
|
||||
@@ -101,7 +101,7 @@ void wxIconBundle::DeleteIcons()
|
||||
UnRef();
|
||||
}
|
||||
|
||||
void wxIconBundle::AddIcon(const wxString& file, long type)
|
||||
void wxIconBundle::AddIcon(const wxString& file, wxBitmapType type)
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
// Deal with standard icons
|
||||
@@ -238,3 +238,4 @@ wxIcon wxIconBundle::GetIconByIndex(size_t n) const
|
||||
return M_ICONBUNDLEDATA->m_icons[n];
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user