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:
parent
3b298cc8b2
commit
4aed8cd0be
5 changed files with 5 additions and 5 deletions
|
|
@ -268,7 +268,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
|
|||
info.SetDescription(_("This sample program demonstrates usage of wxCollapsiblePane"));
|
||||
info.SetCopyright(wxT("(C) 2006 Francesco Montorsi <frm@users.sourceforge.net>"));
|
||||
|
||||
wxAboutBox(info);
|
||||
wxAboutBox(info, this);
|
||||
}
|
||||
|
||||
void MyFrame::OnCollapseUpdateUI(wxUpdateUIEvent& event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue