What should be the correct member name?
compilergcc.cpp: In member function 'void CompilerGCC::OnSelectTarget(wxCommandE vent&)':
compilergcc.cpp:2754: error: 'class wxComboBox' has no member named 'GetCurrentSelection'
thanks,
cstudent
probably GetSelection will be sufficient, since we need it as index, not as string
EDIT : platform independent my ... , on windows this builds, thanks wx
EDIT2 : in case of a choice it would have been ok (wxChoice::GetCurrentSelection)
EDIT 3 : on windows : wxComboBox derives from wxChoice (dunno for linux and others, should boot in linux for that) and on windows wxChoice has :
#if wxABI_VERSION >= 20602
virtual int GetCurrentSelection() const;
#endif
EDIT 4 : on wxgtk (linux) : wx Choice also has :
#if wxABI_VERSION >= 20602
virtual int GetCurrentSelection() const;
#endif
BUT wxComboBox is not derived from wxCoice BUT THEN AGAIN : wxComboBox has :
#if wxABI_VERSION >= 20602
int GetCurrentSelection() const;
#endif
So I would say your are not wxABI_VERSION >= 20602 ...