]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/defs.h
Change value of wxHELP to avoid clash with wxSTAY_ON_TOP.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:45 +0000 (19:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:45 +0000 (19:50 +0000)
commite65ae1d36dbf4070cdb579f04849a7afae1341a3
tree0741ca3ef8a50b01042faf2d075c62123901c0f1
parent796e54ef37c2ecad97841d467702ba549ff8cc49
Change value of wxHELP to avoid clash with wxSTAY_ON_TOP.

Using wxSTAY_ON_TOP with wxMessageDialog resulted in "Help" button appearing
since r68537 because these two constants had the same numeric value.

Avoid this by changing wxHELP value to be the same as wxCLOSE_BOX instead: the
latter can't be used with wxMessageDialog so this should solve the problem,
even if there are still conflicts. Also adjust the other button constants
values to account for wxHELP change.

Closes #13433.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/defs.h
include/wx/toplevel.h
interface/wx/defs.h