]> git.saurik.com Git - wxWidgets.git/commitdiff
Added wxIcon(const char **) ctor (same as char **)
authorGuillermo Rodriguez Garcia <guille@iies.es>
Mon, 6 Mar 2000 17:34:24 +0000 (17:34 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Mon, 6 Mar 2000 17:34:24 +0000 (17:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/motif/icon.h
src/motif/icon.cpp

index 3ac1eb445001ac549ab804f55191525e724c6e65..c79cb7bb110612d88fa6f884c0ca99d76f95ba88 100644 (file)
@@ -48,6 +48,7 @@ public:
   wxIcon(const char bits[], int width, int height);
 
   // Initialize with XPM data
+  wxIcon(const char **data);
   wxIcon(char **data);
 
   wxIcon(const wxString& name, long flags = wxBITMAP_TYPE_XPM,
index fb9802ebfa21d8b886b2dd1c899fb1419f46129b..96905576b3364d0a4eb414ec09ed18a10af92c23 100644 (file)
@@ -49,6 +49,11 @@ wxIcon::wxIcon(char **data)
     (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,
                int desiredWidth, int desiredHeight)