Change wxDIALOG_NO_PARENT to avoid clash with wxICON_EXCLAMATION.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Sep 2011 11:06:11 +0000 (11:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Sep 2011 11:06:11 +0000 (11:06 +0000)
commit32a925f832ce34ee19c013e7aa025178e0a6eb27
tree42b87049e556de47470e72eb3e7b11fc29aa21a5
parentf8ec7b81b280bf11b40529c7fc9317ba9f052bee
Change wxDIALOG_NO_PARENT to avoid clash with wxICON_EXCLAMATION.

Use 0x20 (wxAPPLY) instead of 0x100 (wxICON_EXCLAMATION) for
wxDIALOG_NO_PARENT as otherwise using wxICON_EXCLAMATION with wxMessageBox in
wxGTK (and possibly other ports, although not wxMSW which doesn't honour
wxDIALOG_NO_PARENT for message boxes at all) resulted in not using the
specified parent for the message box and, as a side effect, not centering it
on its parent neither.

Closes #13464.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/dialog.h
include/wx/toplevel.h