1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +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);

View File

@ -824,8 +824,6 @@ bool Win32CnCheckAlreadyExists(bool lock);
void RegistWindowsFirewallAll();
void RegistWindowsFirewallAllEx(char *dir);
void InitVistaWindowTheme(HWND hWnd);
void WinUiDebugInit();
void WinUiDebugFree();
void OnceMsg(HWND hWnd, wchar_t *title, wchar_t *message, bool show_checkbox, UINT icon);
void OnceMsgEx(HWND hWnd, wchar_t *title, wchar_t *message, bool show_checkbox, UINT icon, bool *halt);
UINT GetOnceMsgHash(wchar_t *title, wchar_t *message);