diff options
author | Neil <nyamatongwe@gmail.com> | 2020-06-06 10:09:29 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-06-06 10:09:29 +1000 |
commit | b5b2247de50e20e7db3c64e786aab788d9f49148 (patch) | |
tree | 721bba5f0c53167e5e9c7dd2b5a15061e9d9f41c /src/KeyMap.h | |
parent | eadb190f1bb1303dffcfcb1e8d5305a2c1e2ef60 (diff) | |
download | scintilla-mirror-b5b2247de50e20e7db3c64e786aab788d9f49148.tar.gz |
Defer most initialisation until Scintilla window is created.
Previously, more initialisation was performed inside DllMain but some actions
such as loading libraries are unsafe inside DllMain.
Avoid listbox UnregisterClass if no attempt to register which will occur if
no Scintilla windows were created.
std::call_once is used to ensure initialisation is performed at most once.
Diffstat (limited to 'src/KeyMap.h')
0 files changed, 0 insertions, 0 deletions