Fix base class call of virtual SetFont() in wxGenericListCtrl

Hard-coding 'wxWindow' improperly bypasses an override in wxControl on GTK3
This commit is contained in:
Paul Cornett
2020-01-27 11:27:39 -08:00
parent d03a5c1155
commit 26f58bdf78
2 changed files with 3 additions and 2 deletions

View File

@@ -32,8 +32,9 @@ class WXDLLIMPEXP_FWD_CORE wxListMainWindow;
class WXDLLIMPEXP_CORE wxGenericListCtrl: public wxNavigationEnabled<wxListCtrlBase>,
public wxScrollHelper
{
public:
typedef wxNavigationEnabled<wxListCtrlBase> BaseType;
public:
wxGenericListCtrl() : wxScrollHelper(this)
{
Init();