]> git.saurik.com Git - wxWidgets.git/commit
Use Ok/Cancel dialog instead of Yes/No one in CheckFit().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Jul 2009 16:40:49 +0000 (16:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Jul 2009 16:40:49 +0000 (16:40 +0000)
commit9b95e87cb00a02e8373d25f525910d689c176ce4
treee246ea843018a49a87a3198e810d686f7af6bf95
parent39dfe3d45459682cfec9d7975bff2eec9a4649b9
Use Ok/Cancel dialog instead of Yes/No one in CheckFit().

This has the advantage of being able to close the dialog with "Esc" and also allows us to not specify the label for the "Cancel" button at all and use the default one, which is especially important under MSW where the label returned by wxGetStockLabel(wxID_CANCEL) is actually not the same string as is used in the native message boxes (they don't define an accelerator for the cancel button).

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