Move wxBookCtrlBase::WXHandleDPIChanged() to wxWithImages itself

This function is not really wxBookCtrl-specific and can be used with
other classes as well, so allow reusing it in them.

No real changes, this is just a refactoring.
This commit is contained in:
Vadim Zeitlin
2021-11-07 21:13:39 +00:00
parent ddb3b4a80a
commit c777a34d78
3 changed files with 12 additions and 16 deletions

View File

@@ -360,10 +360,6 @@ private:
// common part of all ctors
void Init();
// update the images if we use them on DPI change
void WXHandleDPIChanged(wxDPIChangedEvent& event);
// internal border
unsigned int m_internalBorder;