mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-25 08:54:19 +08:00
Instead of calling GetLastError() multiple times, and possibly getting different errors, make it private and call UpdateLastError(), which remembers the value returned by GetLastError() in m_error, so that we can be sure it doesn't change. This commit is best viewed with Git --color-moved option. Co-Authored-By: Vadim Zeitlin <vadim@wxwidgets.org> Closes #24811.