Fix crash in wxMSW wxProgressDialog without wxPD_APP_MODAL style.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Sep 2010 13:33:36 +0000 (13:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Sep 2010 13:33:36 +0000 (13:33 +0000)
commita5655d37db9baabce654849fd66173f95f74e230
treed1d936bfe3afe383c81130e519468de62a20a5cc
parentaebe0d3b6c7f616355816e4f23ad7e01cdb1b0ce
Fix crash in wxMSW wxProgressDialog without wxPD_APP_MODAL style.

Use the correct method to retrieve the parent window to disable and check that
this pointer is not NULL before dereferencing it.

Closes #12414.

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