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:
@@ -1375,7 +1375,7 @@ void GridFrame::About( wxCommandEvent& WXUNUSED(ev) )
|
||||
// work with it for some reason) is moved over it.
|
||||
aboutInfo.SetWebSite(wxT("http://www.wxwidgets.org"));
|
||||
|
||||
wxAboutBox(aboutInfo);
|
||||
wxAboutBox(aboutInfo, this);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user