diff --git a/MainFrame.cpp b/MainFrame.cpp index 89ad104..fa1fca1 100644 --- a/MainFrame.cpp +++ b/MainFrame.cpp @@ -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; diff --git a/MainFrame.h b/MainFrame.h index 131be3e..b41e2fd 100644 --- a/MainFrame.h +++ b/MainFrame.h @@ -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);