Do not call GTKAllowDiagnosticsControl() for gtk<2.0
This commit is contained in:
parent
6a10064d24
commit
966ebcc93d
2 changed files with 6 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue