1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-15 20:25:00 +03:00

WinUi: remove unneeded WinUiDebugInit() and WinUiDebugFree() functions

This commit is contained in:
Davide Beatrici
2018-08-06 14:45:54 +02:00
parent 005b5ebeca
commit 21e9bb354e
2 changed files with 0 additions and 13 deletions

View File

@ -9608,13 +9608,6 @@ bool IsEnable(HWND hWnd, UINT id)
return IsWindowEnabled(DlgItem(hWnd, id));
}
static LOCK *winui_debug_lock = NULL;
// Release the debug function
void WinUiDebugFree()
{
DeleteLock(winui_debug_lock);
}
// If the control protrude by large font size, adjust into appropriate size
void AdjustFontSize(HWND hWnd, UINT id)
{
@ -10052,8 +10045,6 @@ void InitWinUi(wchar_t *software_name, char *font, UINT fontsize)
return;
}
WinUiDebugInit();
if (MayaquaIsMinimalMode() == false)
{
if (Is64())
@ -10178,8 +10169,6 @@ void FreeWinUi()
Free(font_name);
font_name = NULL;
WinUiDebugFree();
if (hCommonDC != NULL)
{
DeleteDC(hCommonDC);