Deprecate wxWindow::MakeModal().

Using this function was never the right way to show a modal window and it
didn't really work correctly. Instead of futilely trying to fix it, just
deprecate it.

Closes #1561.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-03-07 23:50:21 +00:00
parent fca74306c5
commit e94f303173
4 changed files with 7 additions and 13 deletions

View File

@@ -423,6 +423,8 @@ Deprecated methods and their replacements
you use these functions.
- wxDataViewCtrl::StartEditor(item, n) taking column index is now deprecated,
use EditItem(item, GetColumn(n)), which takes the column itself, instead.
- wxWindow::MakeModal() is deprecated, use wxDialog::ShowModal() instead if
possible or wxWindowDisabler otherwise.
Major new features in this release