From: ashish on 17 Nov 2006 16:45 Hello, I tried to compile wxSheet with the latest wxMSW 2.8.0rc with VC++ 6.0 and i get compile errors wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2039: 'RemoveChild' : is not a member of '`global namespace'' wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2660: 'SetFocus' : function does not take 0 parameters wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2660: 'SetFocus' : function does not take 0 parameters The Compiler points to: WX_DELEGATE_TO_CONTROL_CONTAINER(wxSheetSplitter); Any suggestions: -ashish
From: "John Labenski" on 17 Nov 2006 17:17 On 17 Nov 2006 13:45:55 -0800, ashish <ashishmore(a)gmail.com> wrote: > > Hello, > I tried to compile wxSheet with the latest wxMSW 2.8.0rc with VC++ > 6.0 and i get compile errors > wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2039: > 'RemoveChild' : is not a member of '`global namespace'' > wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2660: > 'SetFocus' : function does not take 0 parameters > wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2660: > 'SetFocus' : function does not take 0 parameters > > The Compiler points to: > WX_DELEGATE_TO_CONTROL_CONTAINER(wxSheetSplitter); I just compiled it last night using a brand new wxWidgets CVS head checkout, which should be nearly identical to rc1, without any problems in linux using gcc. The offending code is the same as the wxWidgets wxSplitterWindow code, I assume that you have no problems compiling wxWidgets/src/generic/splitter.cpp? The RemoveChild not a member of global namespace makes me think that somehow the wxCHECK_VERSION(2,7,0) is not true for 2.8 rc1. Could you try to rem out the #if wxCHECK_VERSION leaving only WX_DELEGATE_TO_CONTROL_CONTAINER(wxSheetSplitter, wxWindow); Maybe you have the $(WXWIN) environment variable pointing to your old installation? Regards, John Labenski --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: ashishiworx on 20 Nov 2006 10:15 Thank, I was my mistake, the WXWIN variable was pointed to the wrong location. -ashish "John Labenski" wrote: > On 17 Nov 2006 13:45:55 -0800, ashish <ashishmore(a)gmail.com> wrote: > > > > Hello, > > I tried to compile wxSheet with the latest wxMSW 2.8.0rc with VC++ > > 6.0 and i get compile errors > > wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2039: > > 'RemoveChild' : is not a member of '`global namespace'' > > wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2660: > > 'SetFocus' : function does not take 0 parameters > > wxsheet_2006_04_28\wxsheet\src\sheetspt.cpp(50) : error C2660: > > 'SetFocus' : function does not take 0 parameters > > > > The Compiler points to: > > WX_DELEGATE_TO_CONTROL_CONTAINER(wxSheetSplitter); > > I just compiled it last night using a brand new wxWidgets CVS head > checkout, which should be nearly identical to rc1, without any > problems in linux using gcc. > > The offending code is the same as the wxWidgets wxSplitterWindow code, > I assume that you have no problems compiling > wxWidgets/src/generic/splitter.cpp? > > The RemoveChild not a member of global namespace makes me think that > somehow the wxCHECK_VERSION(2,7,0) is not true for 2.8 rc1. Could you > try to rem out the #if wxCHECK_VERSION leaving only > > WX_DELEGATE_TO_CONTROL_CONTAINER(wxSheetSplitter, wxWindow); > > Maybe you have the $(WXWIN) environment variable pointing to your old > installation? > > Regards, > John Labenski > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
|
Pages: 1 Prev: When can you trust a window size? Next: wxDbTable with arrays |