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:
@@ -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();
|
||||
|
@@ -5462,7 +5462,7 @@ bool wxGenericListCtrl::SetForegroundColour( const wxColour &colour )
|
||||
|
||||
bool wxGenericListCtrl::SetFont( const wxFont &font )
|
||||
{
|
||||
if ( !wxWindow::SetFont( font ) )
|
||||
if (!BaseType::SetFont(font))
|
||||
return false;
|
||||
|
||||
if (m_mainWin)
|
||||
|
Reference in New Issue
Block a user