No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello I am having an issue with syntax. I have: [CODE]wxLegendWindow::wxLegendWindow( wxWindow *parent) : wxWindow(parent, -1, wxDefaultPosition, wxSize(LEGEND_WIDTH,LEGEND_HEIGHT)) m_WinParent(parent)[/CODE] and when I compile I get: [CODE]C:\codeblocks-10.05-release\src\plugins\contrib\wxSmithContribItems\wxchart\wxchart-1.0\src\legendwindow.cpp|50|error: expected '{' before 'm_WinParent'|[/CODE] The code I originally started with was: [CODE]wxLegendWindow::wxLegendWindow( wxWindow *parent ): wxWindow(parent, -1, wxDefaultPosition, wxSize(LEGEND_WIDTH, LEGEND_HEIGHT)/*, wxSIMPLE_BORDER*/), m_WinParent(parent) [/CODE] However … |