Build fix for wxDataViewCtrl after wxSystemThemedControl changes
wxSystemThemedControl is a template class and can't be used without template arguments even though MSVC somehow compiled it -- but g++, quite justifiably, refused to do it.
This commit is contained in:
@@ -5421,10 +5421,11 @@ void wxDataViewCtrl::ToggleSortByColumn(int column)
|
|||||||
|
|
||||||
void wxDataViewCtrl::DoEnableSystemTheme(bool enable, wxWindow* window)
|
void wxDataViewCtrl::DoEnableSystemTheme(bool enable, wxWindow* window)
|
||||||
{
|
{
|
||||||
wxSystemThemedControl::DoEnableSystemTheme(enable, window);
|
typedef wxSystemThemedControl<wxControl> Base;
|
||||||
wxSystemThemedControl::DoEnableSystemTheme(enable, m_clientArea);
|
Base::DoEnableSystemTheme(enable, window);
|
||||||
|
Base::DoEnableSystemTheme(enable, m_clientArea);
|
||||||
if ( m_headerArea )
|
if ( m_headerArea )
|
||||||
wxSystemThemedControl::DoEnableSystemTheme(enable, m_headerArea);
|
Base::DoEnableSystemTheme(enable, m_headerArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !wxUSE_GENERICDATAVIEWCTRL
|
#endif // !wxUSE_GENERICDATAVIEWCTRL
|
||||||
|
Reference in New Issue
Block a user