Don't try to pop from an empty stack in wxGDIPlusContext::PopState().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jul 2011 19:36:43 +0000 (19:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jul 2011 19:36:43 +0000 (19:36 +0000)
commit401889f079da7619db7aa637fd8a25951bab625d
tree0024a7ad67363a65a40723499971b3837db39ca2
parent5d4a050443ac1f171388d5d183bdf7cd167af0d8
Don't try to pop from an empty stack in wxGDIPlusContext::PopState().

Using PopState() without a previous PushState() is an error but it shouldn't
result in a crash, so add an assert guarding against it.

Closes #13197.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/graphics.cpp