compiling wx.NET Error message

Kevin Gordon <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Thank you for your help. I am using wxGTK-2.5.1 as per "You should have 
wxWidgets 2.5.1 installed before attempting to build wx.NET." If I should 
change to 2.4.2 please let me know.

Kevin



From: Xenomorph <xenomorph2@on...> 
  Re: compiling wx.NET Error message   
2004-03-02 01:47 


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_id56&alloc_id438&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.