I'm using the wxTreeListCtrl (http://wxcode.sourceforge.net/components/treelistctrl/).
Everything works fine except of one thing: I don't know how to receive simple mouse events with this control...
I just want to receive an event when the user clicks on an item, but when I try to set an event handler with
Code: Select all
m_treelist->Connect(ID_TREELISTCTRL, wxEVT_LEFT_DOWN, wxMouseEventHandler(MainWindow::OnLeftDown), NULL, this);
The same for all other mouse events like mouse move, right click etc.
Hope someone could help me with this.
Regards,
m.a.k.