From 75d707ba3bc78c6ed7587c39b6be99f444276eab Mon Sep 17 00:00:00 2001 From: taynpg Date: Thu, 26 Dec 2024 10:28:02 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E6=B7=BB=E5=8A=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainFrame.cpp | 5 +++++ MainFrame.h | 3 +++ 2 files changed, 8 insertions(+) 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);