#6037 Use MAKEINTATOM in MSWindowsScreen
This commit is contained in:
parent
3e6920964a
commit
bae51a4406
|
@ -858,7 +858,7 @@ void
|
||||||
MSWindowsScreen::destroyClass(ATOM windowClass) const
|
MSWindowsScreen::destroyClass(ATOM windowClass) const
|
||||||
{
|
{
|
||||||
if (windowClass != 0) {
|
if (windowClass != 0) {
|
||||||
UnregisterClass(reinterpret_cast<LPCTSTR>(windowClass), s_windowInstance);
|
UnregisterClass(MAKEINTATOM(windowClass), s_windowInstance);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -889,7 +889,7 @@ MSWindowsScreen::createDropWindow(ATOM windowClass, const char* name) const
|
||||||
WS_EX_TOPMOST |
|
WS_EX_TOPMOST |
|
||||||
WS_EX_TRANSPARENT |
|
WS_EX_TRANSPARENT |
|
||||||
WS_EX_ACCEPTFILES,
|
WS_EX_ACCEPTFILES,
|
||||||
reinterpret_cast<LPCTSTR>(m_class),
|
MAKEINTATOM(m_class),
|
||||||
name,
|
name,
|
||||||
WS_POPUP,
|
WS_POPUP,
|
||||||
0, 0, m_dropWindowSize, m_dropWindowSize,
|
0, 0, m_dropWindowSize, m_dropWindowSize,
|
||||||
|
|
Loading…
Reference in New Issue