mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 09:22:58 +00:00
[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:
parent
085f135f1a
commit
7014cf04b1
12 changed files with 380 additions and 56 deletions
|
@ -394,7 +394,7 @@ struct TextTool : ToolBase
|
|||
{
|
||||
imageModel.ResetToPrevious();
|
||||
|
||||
BOOL bTextBoxShown = textEditWindow.IsWindowVisible();
|
||||
BOOL bTextBoxShown = ::IsWindowVisible(textEditWindow);
|
||||
if (bTextBoxShown && textEditWindow.GetWindowTextLength() > 0)
|
||||
{
|
||||
CString szText;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue