Annoying Error
Im getting an error I really dont understand, using wxWidgets, but I cant see whats wrong:
ISO C++ forbids defining types within return type
TextFrame::TextFrame(wxChar *title, int xpos, int ypos, int width, int height)
: wxFrame((wxFrame *) NULL, -1, title, wxPoint,(xpos, ypos), wxsize(width, height))
Whats wrong with this?
ISO C++ forbids defining types within return type
TextFrame::TextFrame(wxChar *title, int xpos, int ypos, int width, int height)
: wxFrame((wxFrame *) NULL, -1, title, wxPoint,(xpos, ypos), wxsize(width, height))
Whats wrong with this?
