make XPM data pointer parameter fully const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -30,13 +30,15 @@ wxIcon::wxIcon(const char bits[], int width, int height)
|
||||
(void) Create((void*) bits, wxBITMAP_TYPE_XBM_DATA, width, height, 1);
|
||||
}
|
||||
|
||||
#ifdef wxNEEDS_CHARPP
|
||||
// Create from XPM data
|
||||
wxIcon::wxIcon(char **data)
|
||||
{
|
||||
(void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
wxIcon::wxIcon(const char **data)
|
||||
wxIcon::wxIcon(const char* const* data)
|
||||
{
|
||||
(void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user