wxQt-specific ifdefs.

This commit is contained in:
Alex Shvartzkop 2024-06-01 04:17:41 +03:00
parent 84091b163e
commit d502470e74
2 changed files with 4 additions and 3 deletions

View File

@ -512,9 +512,10 @@ int DIALOG_SHIM::ShowQuasiModal()
wxASSERT_MSG( !m_qmodal_parent_disabler, wxT( "Caller using ShowQuasiModal() twice on same "
"window?" ) );
#ifndef __WXQT__
// quasi-modal: disable only my "optimal" parent
m_qmodal_parent_disabler = new WDO_ENABLE_DISABLE( parent );
#endif
// Apple in its infinite wisdom will raise a disabled window before even passing
// us the event, so we have no way to stop it. Instead, we must set an order on

View File

@ -109,7 +109,7 @@ public:
}
}
#elif defined( _WIN32 )
#elif defined( _WIN32 ) and not defined( __WXQT__ )
const GLubyte* vendor = glGetString( GL_VENDOR );
//const GLubyte* renderer = glGetString( GL_RENDERER );