GetTitle() added in r71213 resulted in virtual function warnings from g++, fix
them by renaming it to GetBoxTitle().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71302
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void TestMessageBoxDialog::OnApply(wxCommandEvent& WXUNUSED(event))
{
void TestMessageBoxDialog::OnApply(wxCommandEvent& WXUNUSED(event))
{
- wxMessageDialog dlg(this, GetMessage(), GetTitle(), GetStyle());
+ wxMessageDialog dlg(this, GetMessage(), GetBoxTitle(), GetStyle());
PrepareMessageDialog(dlg);
wxString btnName;
PrepareMessageDialog(dlg);
wxString btnName;
void TestRichMessageDialog::OnApply(wxCommandEvent& WXUNUSED(event))
{
void TestRichMessageDialog::OnApply(wxCommandEvent& WXUNUSED(event))
{
- wxRichMessageDialog dlg(this, GetMessage(), GetTitle(), GetStyle());
+ wxRichMessageDialog dlg(this, GetMessage(), GetBoxTitle(), GetStyle());
PrepareMessageDialog(dlg);
dlg.ShowCheckBox(m_textCheckBox->GetValue(),
PrepareMessageDialog(dlg);
dlg.ShowCheckBox(m_textCheckBox->GetValue(),
bool Create();
protected:
bool Create();
protected:
- wxString GetTitle() { return m_textTitle->GetValue(); }
+ wxString GetBoxTitle() { return m_textTitle->GetValue(); }
wxString GetMessage() { return m_textMsg->GetValue(); }
long GetStyle();
wxString GetMessage() { return m_textMsg->GetValue(); }
long GetStyle();