-bool wxCocoaMessageDialog::SetYesNoLabels(const wxString& yes,const wxString& no)
-{
- m_yes = yes;
- m_yes.Replace(_("&"),_(""));
- m_no = no;
- m_no.Replace(_("&"),_(""));
- return true;
-}
-bool wxCocoaMessageDialog::SetYesNoCancelLabels(const wxString& yes, const wxString& no, const wxString& cancel)
-{
- m_yes = yes;
- m_yes.Replace(_("&"),_(""));
- m_no = no;
- m_no.Replace(_("&"),_(""));
- m_cancel = cancel;
- m_cancel.Replace(_("&"),_(""));
- return true;
-}
-bool wxCocoaMessageDialog::SetOKLabel(const wxString& ok)
-{
- m_ok = ok;
- m_ok.Replace(_("&"),_(""));
- return true;
-}
-bool wxCocoaMessageDialog::SetOKCancelLabels(const wxString& ok, const wxString& cancel)
-{
- m_ok = ok;
- m_ok.Replace(_("&"),_(""));
- m_cancel = cancel;
- m_cancel.Replace(_("&"),_(""));
- return true;
-}
-