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
This commit is contained in:
@@ -150,9 +150,11 @@ public:
|
|||||||
Also notice that this function is not currently available on all
|
Also notice that this function is not currently available on all
|
||||||
platforms (although as of wxWidgets 2.9.0 it is implemented in 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
|
major ports), so it may return @false to indicate that the labels
|
||||||
couldn't be changed. If it returns @true (currently only under wxMac),
|
couldn't be changed. If it returns @true, the labels were set
|
||||||
the labels were set successfully. Typically, if the function was used
|
successfully.
|
||||||
successfully, the main dialog message may need to be changed, e.g.:
|
|
||||||
|
Typically, if the function was used successfully, the main dialog
|
||||||
|
message may need to be changed, e.g.:
|
||||||
@code
|
@code
|
||||||
wxMessageDialog dlg(...);
|
wxMessageDialog dlg(...);
|
||||||
if ( dlg.SetYesNoLabels(_("&Quit"), _("&Don't quit")) )
|
if ( dlg.SetYesNoLabels(_("&Quit"), _("&Don't quit")) )
|
||||||
|
Reference in New Issue
Block a user