Do not call GTKAllowDiagnosticsControl() for gtk<2.0

This commit is contained in:
Jouk 2022-09-02 12:28:17 +02:00
parent 6a10064d24
commit 966ebcc93d
2 changed files with 6 additions and 2 deletions

View file

@ -37,7 +37,7 @@ bool MyApp::OnInit()
if ( !wxApp::OnInit() )
return false;
#ifdef __WXGTK__
#ifdef __WXGTK20__
// Many version of wxGTK generate spurious diagnostic messages when
// destroying wxNotebook (or removing pages from it), allow wxWidgets to
// suppress them.