Fix harmless warnings in samples (wxGTK)

Under wxGTK, wxAboutBox with no parent raises a warning "GtkDialog mapped without a transient parent".
This commit is contained in:
Artur Wieczorek
2017-03-20 23:27:57 +01:00
parent 3b298cc8b2
commit 4aed8cd0be
5 changed files with 5 additions and 5 deletions

View File

@@ -569,7 +569,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
info.SetDescription("wxTreeListCtrl wxWidgets sample.");
info.SetCopyright("(C) 2011 Vadim Zeitlin <vadim@wxwidgets.org>");
wxAboutBox(info);
wxAboutBox(info, this);
}
void MyFrame::OnExit(wxCommandEvent& WXUNUSED(event))