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:
Vadim Zeitlin
2008-06-06 23:33:58 +00:00
parent 9543d01ca1
commit e98e625cbb
7 changed files with 92 additions and 90 deletions

View File

@@ -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];
}