From 461cd115f2ae4deee65ff1e2367db5cab6c1c6a5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 18 Jul 2009 12:15:25 +0000 Subject: [PATCH] Correct obsolete information: SetYesNoLabels() is not Mac-only any more. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/msgdlg.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/interface/wx/msgdlg.h b/interface/wx/msgdlg.h index 6a88ff8558..809bf9f90a 100644 --- a/interface/wx/msgdlg.h +++ b/interface/wx/msgdlg.h @@ -150,9 +150,11 @@ public: Also notice that this function is not currently available on all platforms (although as of wxWidgets 2.9.0 it is implemented in all major ports), so it may return @false to indicate that the labels - couldn't be changed. If it returns @true (currently only under wxMac), - the labels were set successfully. Typically, if the function was used - successfully, the main dialog message may need to be changed, e.g.: + couldn't be changed. If it returns @true, the labels were set + successfully. + + Typically, if the function was used successfully, the main dialog + message may need to be changed, e.g.: @code wxMessageDialog dlg(...); if ( dlg.SetYesNoLabels(_("&Quit"), _("&Don't quit")) ) -- 2.45.2