update:添加。
This commit is contained in:
parent
3fbbb0fbdc
commit
75d707ba3b
@ -9,6 +9,11 @@ CMainFrame::CMainFrame(const wxString& title)
|
||||
this->Bind(wxEVT_LEFT_UP, &CMainFrame::mouse_leftup, this);
|
||||
}
|
||||
|
||||
void CMainFrame::init()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CMainFrame::mouse_down(wxMouseEvent& event)
|
||||
{
|
||||
drag_ = true;
|
||||
|
@ -6,6 +6,9 @@ class CMainFrame : public wxFrame
|
||||
public:
|
||||
explicit CMainFrame(const wxString& title);
|
||||
|
||||
public:
|
||||
void init();
|
||||
|
||||
private:
|
||||
void mouse_down(wxMouseEvent& event);
|
||||
void mouse_motion(wxMouseEvent& event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user