mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-26 09:56:32 +08:00
Do not call GTKAllowDiagnosticsControl() for gtk<2.0
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user