Changing invoking window always needs to update the bitmaps because the scale factor may need to be changed if this window is on a different display, using different scaling, so do it automatically whenever SetInvokingWindow() is called instead of having to remember to call SetupBitmaps() manually everywhere SetInvokingWindow() is. This required making the base class function virtual, but allows to get rid of SetupBitmaps() call in wxWindow::DoPopupMenu(), as it can now rely on this being already done by wxWindowBase::PopupMenu(). |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||