]> git.saurik.com Git - wxWidgets.git/commit
Remove display information caching from MSW wxDisplay implementation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Sep 2010 23:04:02 +0000 (23:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Sep 2010 23:04:02 +0000 (23:04 +0000)
commitd5947fad64ffb5bd695620fc82e5d4f20d51fb47
treecb3cd3cae8d0167bca64dd0697de05833bdf0893
parent09a8cab77be1c41f85e22035a26b91547c3e9033
Remove display information caching from MSW wxDisplay implementation.

Don't cache display rectangle and client rectangle as they can both change
during the program lifetime (especially the latter which changes whenever
taskbar is moved or shown/hidden) and retrieving them every time they're
needed doesn't seem to be a problem performance-wise anyhow.

We still cache the list of all the monitors, ideally we'd refresh it when we
receive a notification about a display being [dis]connected.

Closes #4582.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/doxygen/mainpages/const_wxusedef.h
src/msw/display.cpp