+public:
+ // ctors
+ wxMessageDialogBase() { m_dialogStyle = 0; }
+ wxMessageDialogBase(wxWindow *parent,
+ const wxString& message,
+ const wxString& caption,
+ long style)
+ : m_message(message),
+ m_caption(caption)
+ {
+ m_parent = parent;
+ SetMessageDialogStyle(style);
+ }
+
+ // virtual dtor for the base class
+ virtual ~wxMessageDialogBase() { }
+
+
+ // methods for setting up more custom message dialogs -- all functions
+ // return false if they're not implemented
+ virtual bool SetYesNoLabels(const wxString& WXUNUSED(yes),
+ const wxString& WXUNUSED(no))
+ {
+ return false;
+ }
+
+ virtual bool SetYesNoCancelLabels(const wxString& WXUNUSED(yes),
+ const wxString& WXUNUSED(no),
+ const wxString& WXUNUSED(cancel))
+ {
+ return false;
+ }
+
+ virtual bool SetOKLabel(const wxString& WXUNUSED(ok))
+ {
+ return false;
+ }
+
+ virtual bool SetOKCancelLabels(const wxString& WXUNUSED(ok),
+ const wxString& WXUNUSED(cancel))
+ {
+ return false;
+ }
+
+ virtual void SetMessage(const wxString& message)
+ {
+ m_message = message;
+ }
+
+ virtual void SetExtendedMessage(const wxString& extendedMessage)
+ {
+ m_extendedMessage = extendedMessage;
+ }
+