Suppress the opengl test from generating "ghost frames" on Windows which appear and quickly disappear

This commit is contained in:
Marek Roszko 2020-10-18 13:48:24 -04:00
parent 0044c6b48a
commit ae6900e7d7
1 changed files with 2 additions and 3 deletions

View File

@ -327,9 +327,8 @@ OPENGL_GAL::~OPENGL_GAL()
wxString OPENGL_GAL::CheckFeatures( GAL_DISPLAY_OPTIONS& aOptions )
{
wxFrame* testFrame =
new wxFrame( NULL, wxID_ANY, wxT( "" ), wxDefaultPosition, wxSize( 1, 1 ) );
wxFrame* testFrame = new wxFrame( NULL, wxID_ANY, wxT( "" ), wxDefaultPosition, wxSize( 1, 1 ),
wxFRAME_TOOL_WINDOW | wxNO_BORDER );
KIGFX::OPENGL_GAL* opengl_gal = new KIGFX::OPENGL_GAL( aOptions, testFrame );
testFrame->Raise();