mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-02 05:24:31 +08:00
#6037 Use MAKEINTATOM in MSWindowsScreen
This commit is contained in:
@@ -858,7 +858,7 @@ void
|
||||
MSWindowsScreen::destroyClass(ATOM windowClass) const
|
||||
{
|
||||
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_TRANSPARENT |
|
||||
WS_EX_ACCEPTFILES,
|
||||
reinterpret_cast<LPCTSTR>(m_class),
|
||||
MAKEINTATOM(m_class),
|
||||
name,
|
||||
WS_POPUP,
|
||||
0, 0, m_dropWindowSize, m_dropWindowSize,
|
||||
|
||||
Reference in New Issue
Block a user