Skip all wxDPIChangedEvent

So base classes will process the event too.
This is need for (at least) wxGenericColourButton It has its own handler,
but also needs to handle the DPI event in wxButtonImageData.
This commit is contained in:
Maarten Bent
2022-01-05 22:47:32 +01:00
parent 0f8ab824a3
commit e2d34e982e
13 changed files with 33 additions and 7 deletions

View File

@@ -5682,6 +5682,8 @@ void wxDataViewCtrl::OnDPIChanged(wxDPIChangedEvent& event)
width = event.ScaleX(width);
m_cols[i]->SetWidth(width);
}
event.Skip();
}
void wxDataViewCtrl::SetFocus()