mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 05:13:36 +08:00
Preliminary support for MSYS/MinGW builds. Doesn't yet build
CSynergyHook as a DLL and does not compile or link in the resources for the binaries.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
*/
|
||||
|
||||
#include "CArchTaskBarWindows.h"
|
||||
#include "CArchMiscWindows.h"
|
||||
#include "IArchTaskBarReceiver.h"
|
||||
#include "CArch.h"
|
||||
#include "XArch.h"
|
||||
@@ -464,7 +465,7 @@ CArchTaskBarWindows::threadMainLoop()
|
||||
|
||||
// handle failure
|
||||
if (m_hwnd == NULL) {
|
||||
UnregisterClass((LPCTSTR)windowClass, s_appInstance);
|
||||
UnregisterClass(reinterpret_cast<LPCTSTR>(windowClass), s_appInstance);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -480,7 +481,7 @@ CArchTaskBarWindows::threadMainLoop()
|
||||
// clean up
|
||||
removeAllIcons();
|
||||
DestroyWindow(m_hwnd);
|
||||
UnregisterClass((LPCTSTR)windowClass, s_appInstance);
|
||||
UnregisterClass(reinterpret_cast<LPCTSTR>(windowClass), s_appInstance);
|
||||
}
|
||||
|
||||
void*
|
||||
|
||||
Reference in New Issue
Block a user