Fix wxRadioBox::Show() behaviour in wxQt

If a QGroupBox is not visible, then you cannot set any of items to be
visible. Update the implementation to match that expected by wx.

Closes https://github.com/wxWidgets/wxWidgets/pull/1065
This commit is contained in:
Liam Treacy
2018-12-10 14:11:37 +00:00
committed by Vadim Zeitlin
parent 418a1b747e
commit e7260cffe0
2 changed files with 37 additions and 3 deletions

View File

@@ -68,6 +68,7 @@ public:
virtual bool Enable(unsigned int n, bool enable = true) wxOVERRIDE;
virtual bool Enable(bool enable = true) wxOVERRIDE;
virtual bool Show(unsigned int n, bool show = true) wxOVERRIDE;
virtual bool Show(bool show = true) wxOVERRIDE;
virtual bool IsItemEnabled(unsigned int n) const wxOVERRIDE;
virtual bool IsItemShown(unsigned int n) const wxOVERRIDE;