阅读背景:

wx处理鼠标事件

来源:互联网 
#include "MainFrame.h"

BEGIN_EVENT_TABLE(MyFrame,wxFrame)
    EVT_LEFT_DOWN(MyFrame::OnMouseLeftDown)
END_EVENT_TABLE()
void MyFrame::OnMouseLeftDown(wxMouseEvent &event)
{
    wxMessageBox("asdfas");

}#include "MainFrame.h"

BEGIN_EVEN



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: