Added wxIcon(const char **) ctor (same as char **)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,6 +48,7 @@ public:
|
|||||||
wxIcon(const char bits[], int width, int height);
|
wxIcon(const char bits[], int width, int height);
|
||||||
|
|
||||||
// Initialize with XPM data
|
// Initialize with XPM data
|
||||||
|
wxIcon(const char **data);
|
||||||
wxIcon(char **data);
|
wxIcon(char **data);
|
||||||
|
|
||||||
wxIcon(const wxString& name, long flags = wxBITMAP_TYPE_XPM,
|
wxIcon(const wxString& name, long flags = wxBITMAP_TYPE_XPM,
|
||||||
|
@@ -49,6 +49,11 @@ wxIcon::wxIcon(char **data)
|
|||||||
(void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0);
|
(void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxIcon::wxIcon(const char **data)
|
||||||
|
{
|
||||||
|
(void) Create((void*) data, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
wxIcon::wxIcon(const wxString& icon_file, long flags,
|
wxIcon::wxIcon(const wxString& icon_file, long flags,
|
||||||
int desiredWidth, int desiredHeight)
|
int desiredWidth, int desiredHeight)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user