Creating Custom Control
Posted: Fri Apr 03, 2009 9:51 am
Hello dear forum,
I try to create my own control (graph). Therefore derive my class from wxControl according to the 'Custom Control' section in the SVN Ref manual.
I get the following error messages:
I guess this problem is related to the two-step-creation of a wxWindow, but have no clue since I'm a wxWidgets and C++ newbie.
Thank you for any help.
System: Code::Blocks, MinGW, WindowsXP
I try to create my own control (graph). Therefore derive my class from wxControl according to the 'Custom Control' section in the SVN Ref manual.
I get the following error messages:
obj\release\LogViewMain.o:LogViewMain.cpp:(.text+0xf1c)||undefined reference to `simpleGraph::Create(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long, wxValidator const&, wxString const&)'|
obj\release\LogViewMain.o:LogViewMain.cpp:(.text+0x283c)||undefined reference to `simpleGraph::Create(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long, wxValidator const&, wxString const&)'|
||=== Build finished: 2 errors ===|
I guess this problem is related to the two-step-creation of a wxWindow, but have no clue since I'm a wxWidgets and C++ newbie.
Thank you for any help.
System: Code::Blocks, MinGW, WindowsXP