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:
@@ -955,7 +955,7 @@ void MyFrame::OnAbout( wxCommandEvent& WXUNUSED(event) )
|
||||
info.AddDeveloper("Robert Roebling");
|
||||
info.AddDeveloper("Francesco Montorsi");
|
||||
|
||||
wxAboutBox(info);
|
||||
wxAboutBox(info, this);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user