Update wxStaticBitmap in wxMSW on DPI change
Use the appropriately sized bitmap when the resolution changes.
This commit is contained in:
@@ -112,7 +112,9 @@ private:
|
||||
// can we leave it to it)
|
||||
void DoPaintManually(wxPaintEvent& event);
|
||||
|
||||
// event handlers
|
||||
void WXHandleSize(wxSizeEvent& event);
|
||||
void WXHandleDPIChanged(wxDPIChangedEvent& event);
|
||||
|
||||
// return the size of m_icon or the appropriate size of m_bitmapBundle at
|
||||
// the current DPI scaling (may still be invalid of both of them are)
|
||||
|
Reference in New Issue
Block a user