Re: compiling wx.NET Error message

Xenomorph <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1078220060.1555.4.camel@dellkiste>
Am Di, den 02.03.2004 schrieb Kevin Gordon um 10:13:
> font.cxx
> font.cxx: In function `wxNativeFontInfo* wxFont_GetNativeFontInfo(wxFont*)':
> font.cxx:115: error: invalid conversion from `const wxNativeFontInfo*' to `
>    wxNativeFontInfo*'
> make[1]: *** [obj/font.o] Error 1
> make: *** [wx-c] Error 2

Change font.cxx (line 114...):

extern "C" WXEXPORT
const wxNativeFontInfo* wxFont_GetNativeFontInfo(wxFont* self)
{
	return self->GetNativeFontInfo();
}

Which version of wxWidgets/wxWindows are you using ???

Alexander Olk



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.