+wxString wxMessageDialog::GetDefaultYesLabel() const
+{
+ return GTK_STOCK_YES;
+}
+
+wxString wxMessageDialog::GetDefaultNoLabel() const
+{
+ return GTK_STOCK_NO;
+}
+
+wxString wxMessageDialog::GetDefaultOKLabel() const
+{
+ return GTK_STOCK_OK;
+}
+
+wxString wxMessageDialog::GetDefaultCancelLabel() const
+{
+ return GTK_STOCK_CANCEL;
+}
+
+void wxMessageDialog::DoSetCustomLabel(wxString& var, const ButtonLabel& label)
+{
+ int stockId = label.GetStockId();
+ if ( stockId == wxID_NONE )
+ {
+ wxMessageDialogWithCustomLabels::DoSetCustomLabel(var, label);
+ var = wxConvertMnemonicsToGTK(var);
+ }
+ else // stock label
+ {
+ var = wxGetStockGtkID(stockId);
+ }
+}
+