[wxMAC 2.8.3] wxBitmap::wxBitmap(char**) missing

H H at h.com
Wed May 16 15:33:33 PDT 2007


In article <20070516122534.66c4a891.pc-wx at bullseye.com>,
 pc-wx at bullseye.com (Paul Cornett) wrote:

> H> It seems to be that the constructor wxBitmap::wxBitmap(char**) is 
> H> declared but nowhere defined. In 2.7.0 the constructor still existed.
> 
> I believe it's defined for Mac in src/common/bmpbase.cpp
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org

Hi Paul,

thanks, indeed there is wxBitmap::wxBitmap(const char* const*) but I 
think there also has been once wxBitmap::wxBitmap(char**). Because 
otherwise you cannot load any XPM files from the folder "Art". All XPM 
files in "Art" declare the XPM data like for example:

static char *cdrom_xpm[] ...

wxBitmap(cdrom_xpm) will not find a match if there is no 
wxBitmap(char**). Or has wxBitmap(char**) been changed to wxBitmap(const 
char* const*)? This is more logical but then the xpm-files should be 
updated.

Hartwig






More information about the wx-users mailing list