a15004fc5f
Information about display cached in wxDisplayFactory::m_impls and in wxDisplayFactoryMSW::m_displays could get out of sync after removing a display from the system, resulting in failures when calling various wxDisplay functions later. To fix this, reuse InvalidateCache() to invalidate the cache in wxDisplayFactoryMSW too, making it virtual in order to allow overriding it there. Also call InvalidateCache() from wxDisplayFactoryMSW itself instead of doing it from wxWindow, as this works even when the application isn't showing any windows (and also keeps all display-related code together). Closes https://github.com/wxWidgets/wxWidgets/pull/1246 |
||
---|---|---|
.. | ||
msvc/wx | ||
wx |