In my event table I have EVT_MOUSE_EVENTS(MyFrame::OnMouse)
Here is the callback
Code: Select all
void MyFrame::OnMouse(wxMouseEvent & event){
wxMessageBox(_T("hello"),_T("Debug"), wxOK);
}
How do I get it to recognize left clicks and motions? I tried using EVT_MOTION and EVT_LEFT_UP, but that didn't work.
There is another wxWindow inside of MyFrame, but that shouldn't matter, should it?
Also, I'm left handed so I have my mouse buttons switched, will wxWidgets automatically detect that and switch the buttons, or is that something that I have to do?