diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-20 16:52:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-20 16:52:04 +0200 |
| commit | 15723e1ba0574d4c62458321e9b6d64236e7e429 (patch) | |
| tree | eddb4d1caa58d360875238ed6c9ef1dd9f09365e /src/wx/content_panel.h | |
| parent | a28058f5e2f7e7bf3aa5af9e499bda630b7af7bc (diff) | |
Move contents of ContentPanel::first_shown into LimitedSplitter.
Diffstat (limited to 'src/wx/content_panel.h')
| -rw-r--r-- | src/wx/content_panel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h index 7b3217605..ab11a894b 100644 --- a/src/wx/content_panel.h +++ b/src/wx/content_panel.h @@ -59,6 +59,8 @@ public: /* Try to stop the top bit of the splitter getting so small that buttons disappear */ return new_position > 220; } + + void first_shown (wxWindow* top, wxWindow* bottom); }; @@ -123,7 +125,7 @@ private: void add_files (std::list<boost::filesystem::path>); std::list<ContentSubPanel *> panels () const; - wxSplitterWindow* _splitter; + LimitedSplitter* _splitter; wxPanel* _top_panel; wxNotebook* _notebook; wxListCtrl* _content; |
