diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-12 22:47:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-14 11:41:18 +0200 |
| commit | f479e6edc5152edfa4b21f85e925b890818817af (patch) | |
| tree | a4ed5a35459b603e3ab31837e8a270a66299d248 /src/wx/content_panel.cc | |
| parent | 13e39a9f48b1a7b94870d4751426ec5cfa10d405 (diff) | |
Rename LimitedSplitter -> LimitedContentPanelSplitter.
Diffstat (limited to 'src/wx/content_panel.cc')
| -rw-r--r-- | src/wx/content_panel.cc | 8 |
1 files changed, 4 insertions, 4 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> 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); |
