mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +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
|
@ -57,7 +57,7 @@ ColorKeyedMaskBlt(HDC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight,
|
|||
void
|
||||
ForceRefreshSelectionContents()
|
||||
{
|
||||
if (selectionWindow.IsWindowVisible())
|
||||
if (::IsWindowVisible(selectionWindow))
|
||||
{
|
||||
selectionWindow.SendMessage(WM_LBUTTONDOWN, 0, MAKELPARAM(0, 0));
|
||||
selectionWindow.SendMessage(WM_MOUSEMOVE, 0, MAKELPARAM(0, 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue