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)
|
||||
{
|
||||
wxSystemThemedControl::DoEnableSystemTheme(enable, window);
|
||||
wxSystemThemedControl::DoEnableSystemTheme(enable, m_clientArea);
|
||||
typedef wxSystemThemedControl<wxControl> Base;
|
||||
Base::DoEnableSystemTheme(enable, window);
|
||||
Base::DoEnableSystemTheme(enable, m_clientArea);
|
||||
if ( m_headerArea )
|
||||
wxSystemThemedControl::DoEnableSystemTheme(enable, m_headerArea);
|
||||
Base::DoEnableSystemTheme(enable, m_headerArea);
|
||||
}
|
||||
|
||||
#endif // !wxUSE_GENERICDATAVIEWCTRL
|
||||
|
Reference in New Issue
Block a user