Having trouble to call an event handler directly from my code. I found the same question 2 years ago here. original question
But the line
me_InsertCommentText(wxCommandEvent());
is not compiling (mingw32-gcc 4.8, win7, codeblocks, wxFormBuilder)
error: no matching function for call to 'mjpgen_wdDialog::me_InsertCommentText(wxCommandEvent)' note: candidate is: note: void mjpgen_wdDialog::me_InsertCommentText(wxCommandEvent&)
For me that appears to be caused by the calling by reference parameters. How can I get this to work?