backport r77741: Return the caption from wxMessageDialog::GetTitle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -101,6 +101,11 @@ public:
|
|||||||
|
|
||||||
wxString GetCaption() const { return m_caption; }
|
wxString GetCaption() const { return m_caption; }
|
||||||
|
|
||||||
|
// Title and caption are the same thing, GetCaption() mostly exists just
|
||||||
|
// for compatibility.
|
||||||
|
virtual void SetTitle(const wxString& title) { m_caption = title; }
|
||||||
|
virtual wxString GetTitle() const { return m_caption; }
|
||||||
|
|
||||||
virtual void SetMessage(const wxString& message)
|
virtual void SetMessage(const wxString& message)
|
||||||
{
|
{
|
||||||
m_message = message;
|
m_message = message;
|
||||||
|
Reference in New Issue
Block a user