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:
parent
005b5ebeca
commit
21e9bb354e
@ -9608,13 +9608,6 @@ bool IsEnable(HWND hWnd, UINT id)
|
|||||||
return IsWindowEnabled(DlgItem(hWnd, 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
|
// If the control protrude by large font size, adjust into appropriate size
|
||||||
void AdjustFontSize(HWND hWnd, UINT id)
|
void AdjustFontSize(HWND hWnd, UINT id)
|
||||||
{
|
{
|
||||||
@ -10052,8 +10045,6 @@ void InitWinUi(wchar_t *software_name, char *font, UINT fontsize)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
WinUiDebugInit();
|
|
||||||
|
|
||||||
if (MayaquaIsMinimalMode() == false)
|
if (MayaquaIsMinimalMode() == false)
|
||||||
{
|
{
|
||||||
if (Is64())
|
if (Is64())
|
||||||
@ -10178,8 +10169,6 @@ void FreeWinUi()
|
|||||||
Free(font_name);
|
Free(font_name);
|
||||||
font_name = NULL;
|
font_name = NULL;
|
||||||
|
|
||||||
WinUiDebugFree();
|
|
||||||
|
|
||||||
if (hCommonDC != NULL)
|
if (hCommonDC != NULL)
|
||||||
{
|
{
|
||||||
DeleteDC(hCommonDC);
|
DeleteDC(hCommonDC);
|
||||||
|
@ -824,8 +824,6 @@ bool Win32CnCheckAlreadyExists(bool lock);
|
|||||||
void RegistWindowsFirewallAll();
|
void RegistWindowsFirewallAll();
|
||||||
void RegistWindowsFirewallAllEx(char *dir);
|
void RegistWindowsFirewallAllEx(char *dir);
|
||||||
void InitVistaWindowTheme(HWND hWnd);
|
void InitVistaWindowTheme(HWND hWnd);
|
||||||
void WinUiDebugInit();
|
|
||||||
void WinUiDebugFree();
|
|
||||||
void OnceMsg(HWND hWnd, wchar_t *title, wchar_t *message, bool show_checkbox, UINT icon);
|
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);
|
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);
|
UINT GetOnceMsgHash(wchar_t *title, wchar_t *message);
|
||||||
|
Loading…
Reference in New Issue
Block a user