Refresh generic wxDataViewCtrl after disabling it

Grey the control out immediately, instead of waiting until the next
refresh to do it.

Closes #17887.
This commit is contained in:
mikek
2018-02-01 01:02:56 +01:00
committed by Vadim Zeitlin
parent bfd3f1b33f
commit 945cec4be1
2 changed files with 15 additions and 12 deletions

View File

@@ -257,10 +257,10 @@ public:
#if wxUSE_ACCESSIBILITY
virtual bool Show(bool show = true) wxOVERRIDE;
virtual bool Enable(bool enable = true) wxOVERRIDE;
virtual void SetName(const wxString &name) wxOVERRIDE;
virtual bool Reparent(wxWindowBase *newParent) wxOVERRIDE;
#endif // wxUSE_ACCESSIBILITY
virtual bool Enable(bool enable = true) wxOVERRIDE;
virtual bool AllowMultiColumnSort(bool allow) wxOVERRIDE;
virtual bool IsMultiColumnSortAllowed() const wxOVERRIDE { return m_allowMultiColumnSort; }