I could not re-create this situation with:
Windows 10
Name : Code::Blocks
Version : svn-r12856
SDK Version : 2.19.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website :
https://www.codeblocks.orgOS : Windows 10 (build 19043), 64-bit edition
Scaling factor : 1.250000
Detected scaling factor : 1.250000
Display PPI : 120x120
Display count : 1
Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[1920,1080]; Primary
wxWidgets Library (wxMSW port)
Version 3.1.5 (Unicode: wchar_t, debug level: 1),
compiled at Jun 5 2021 11:08:36
Compiler: gcc 8.1.0 (Windows,unicode) - 64 bit
Runtime version of toolkit used is 10.0.
Nor could I re-create the hang using the current Head or Nightly.