mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 09:02:57 +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
|
@ -300,12 +300,12 @@ HWND CTextEditWindow::Create(HWND hwndParent)
|
|||
|
||||
const DWORD style = ES_LEFT | ES_MULTILINE | ES_WANTRETURN | ES_AUTOVSCROLL |
|
||||
WS_CHILD | WS_THICKFRAME;
|
||||
m_hWnd = ::CreateWindowEx(0, WC_EDIT, NULL, style, 0, 0, 0, 0,
|
||||
hwndParent, NULL, hProgInstance, NULL);
|
||||
if (m_hWnd)
|
||||
HWND hwnd = ::CreateWindowEx(0, WC_EDIT, NULL, style, 0, 0, 0, 0,
|
||||
hwndParent, NULL, hProgInstance, NULL);
|
||||
if (hwnd)
|
||||
{
|
||||
#undef SubclassWindow // Don't use this macro
|
||||
SubclassWindow(m_hWnd);
|
||||
SubclassWindow(hwnd);
|
||||
|
||||
UpdateFont();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue