From f479e6edc5152edfa4b21f85e925b890818817af Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 12 Oct 2022 22:47:10 +0200 Subject: [PATCH] Rename LimitedSplitter -> LimitedContentPanelSplitter. --- src/wx/content_panel.cc | 8 ++++---- src/wx/content_panel.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 643efa787..af35e2d3b 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -73,10 +73,10 @@ using namespace boost::placeholders; #endif -class LimitedSplitter : public wxSplitterWindow +class LimitedContentPanelSplitter : public wxSplitterWindow { public: - LimitedSplitter(wxWindow* parent) + LimitedContentPanelSplitter(wxWindow* parent) : wxSplitterWindow(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_NOBORDER | wxSP_3DSASH | wxSP_LIVE_UPDATE) { /* This value doesn't really mean much but we just want to stop double-click on the @@ -84,7 +84,7 @@ public: */ SetMinimumPaneSize(64); - Bind(wxEVT_SIZE, boost::bind(&LimitedSplitter::sized, this, _1)); + Bind(wxEVT_SIZE, boost::bind(&LimitedContentPanelSplitter::sized, this, _1)); } bool OnSashPositionChange(int new_position) override @@ -180,7 +180,7 @@ ContentPanel::ContentPanel(wxNotebook* n, shared_ptr film, FilmViewer& vie , _ignore_deselect (false) , _no_check_selection (false) { - _splitter = new LimitedSplitter (n); + _splitter = new LimitedContentPanelSplitter(n); _top_panel = new wxPanel (_splitter); _menu = new ContentMenu (_splitter, _film_viewer); diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index 1d3037180..d1ba1a760 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -35,7 +35,7 @@ class ContentSubPanel; class Film; class FilmEditor; class FilmViewer; -class LimitedSplitter; +class LimitedContentPanelSplitter; class TextPanel; class TimelineDialog; class TimingPanel; @@ -115,7 +115,7 @@ private: std::list panels () const; - LimitedSplitter* _splitter; + LimitedContentPanelSplitter* _splitter; wxPanel* _top_panel; wxNotebook* _notebook; wxListCtrl* _content; -- 2.30.2