+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;
+}
+
+wxString wxMessageDialog::GetDefaultHelpLabel() const
+{
+ return GTK_STOCK_HELP;
+}
+
+void wxMessageDialog::DoSetCustomLabel(wxString& var, const ButtonLabel& label)
+{
+ int stockId = label.GetStockId();
+ if ( stockId == wxID_NONE )
+ {
+ wxMessageDialogBase::DoSetCustomLabel(var, label);
+ var = wxConvertMnemonicsToGTK(var);
+ }
+ else // stock label
+ {
+ var = wxGetStockGtkID(stockId);
+ }
+}
+