diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-24 22:50:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-24 22:50:39 +0100 |
| commit | 676737cbf8aea298e6168ac195589d2f84b5246e (patch) | |
| tree | 9b2f34fba8ab4e6b9f0ab9831c973b2da9a451a6 | |
| parent | 36bf80ebc9a2ebc60d7fe9ed87124842eae397a9 (diff) | |
Fix uninitialised variable.
| -rw-r--r-- | src/wx/content_panel.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 9ec44a9f2..1a15d241d 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -803,6 +803,7 @@ ContentPanel::panels () const LimitedSplitter::LimitedSplitter (wxWindow* parent) : wxSplitterWindow (parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_NOBORDER | wxSP_3DSASH | wxSP_LIVE_UPDATE) + , _first_shown (false) , _top_panel_minimum_size (350) { /* This value doesn't really mean much but we just want to stop double-click on the @@ -828,7 +829,7 @@ LimitedSplitter::first_shown (wxWindow* top, wxWindow* bottom) /* Fallback for when GetFromWindow fails for reasons that aren't clear */ SplitHorizontally (top, bottom, -600); } - + _first_shown = true; } |
