mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Make windows inside wxStaticBox its children, not its siblings...
... as is recommended by wxWidgets documentation for version 2.9.1 and later: http://docs.wxwidgets.org/3.0/classwx_static_box.html
This commit is contained in:
@@ -108,7 +108,7 @@ HistoryWindow::HistoryWindow(AudacityProject *parent, UndoManager *manager):
|
||||
S.AddVariableText( {} )->Hide();
|
||||
|
||||
S.AddPrompt(_("&Levels To Discard"));
|
||||
mLevels = safenew wxSpinCtrl(this,
|
||||
mLevels = safenew wxSpinCtrl(S.GetParent(),
|
||||
ID_LEVELS,
|
||||
wxT("1"),
|
||||
wxDefaultPosition,
|
||||
|
||||
Reference in New Issue
Block a user