[ATL][MSPAINT] Add ATLTRACE and fix assertion failures (#4299)

- Implement ATLTRACE and AtlTrace in atlbase.h.
- Fix assertion failures in mspaint.
CORE-17969, CORE-18012
This commit is contained in:
Katayama Hirofumi MZ 2022-01-23 00:59:12 +09:00 committed by GitHub
parent 085f135f1a
commit 7014cf04b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 380 additions and 56 deletions

View file

@ -394,7 +394,7 @@ struct TextTool : ToolBase
{
imageModel.ResetToPrevious();
BOOL bTextBoxShown = textEditWindow.IsWindowVisible();
BOOL bTextBoxShown = ::IsWindowVisible(textEditWindow);
if (bTextBoxShown && textEditWindow.GetWindowTextLength() > 0)
{
CString szText;