Canvas_MapViewer is derived from wxSFMLCanvas as follows: http://www.sfmluploads.org/code/94
wxSFMLCanvas is derived from wxControl and sf::RenderWindow as follows: http://www.sfmluploads.org/code/95
nnmeFrame is derived from wxFrame as follows: http://www.sfmluploads.org/code/96
The problem is in the nnmeFrame-constructor: http://www.sfmluploads.org/code/97
Compiler whines about:
Code: Select all
In constructor 'nnmeFrame::nnmeFrame(wxFrame*, const wxString&)':|
error: no matching function for call to 'Canvas_MapViewer::Canvas_MapViewer(nnmeFrame* const, <anonymous enum>, wxPoint, wxSize)'|
note: candidates are: Canvas_MapViewer::Canvas_MapViewer(wxWindow*, wxWindowID, wxPoint&, wxSize&, long int)|
note: Canvas_MapViewer::Canvas_MapViewer(const Canvas_MapViewer&)|
||=== Build finished: 1 errors, 1 warnings ===|
EDIT; You might want to know my configuration; SFML2.0, wxWidgets 2.8, Windows XP SP3, Codeblocks w/ MinGW-GCC
All help appreciated, Cheers