X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a230426807715c54b6fdcf410e3678ee0dfada6..6c2cd2a2116c5eff1646e0acb7cad2c887300300:/src/common/iconbndl.cpp diff --git a/src/common/iconbndl.cpp b/src/common/iconbndl.cpp index 676ff07f12..509044fadd 100644 --- a/src/common/iconbndl.cpp +++ b/src/common/iconbndl.cpp @@ -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]; } +