I derived class from wxGrid and wxTaskBarIcon, the project is normal in
windows compiling with VC6, but in SuSE Linux Enterprise Server 9, I got the following errors:
undefined reference to 'vtable for CMyGrid'
the compile errors point to the constructor and destructor function in the source file (.cpp).
urgent, thanks!
derived class from wxWidgets can not compile in Linux
-
- Filthy Rich wx Solver
- Posts: 235
- Joined: Sun Oct 10, 2004 2:53 am
- Contact:
oh no, I derived two class respectively
CMyGrid and CMyTaskBarIcon
SnakeChomp's comment still applies. You cannot inherit from two controls expecting to get both functionality in one class.
- Jorgen
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Maybe this might help
http://wiki.wxwidgets.org/wiki.pl?Multiple_Inheritance
http://wiki.wxwidgets.org/wiki.pl?Multiple_Inheritance
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda