Add possibility to change the test message box title in dialog sample.

All the other message box elements were configurable, so why not this one.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-04-17 13:57:18 +00:00
parent 95cb88191c
commit d60a9c00e4
2 changed files with 9 additions and 4 deletions

View File

@@ -208,6 +208,7 @@ public:
bool Create();
protected:
wxString GetTitle() { return m_textTitle->GetValue(); }
wxString GetMessage() { return m_textMsg->GetValue(); }
long GetStyle();
@@ -251,7 +252,8 @@ private:
MsgDlgIcon_Max
};
wxTextCtrl *m_textMsg,
wxTextCtrl *m_textTitle,
*m_textMsg,
*m_textExtMsg;
wxCheckBox *m_buttons[Btn_Max];