diff options
author | RadAd <adamgates84+github@gmail.com> | 2021-07-07 11:11:06 +1000 |
---|---|---|
committer | RadAd <adamgates84+github@gmail.com> | 2021-07-07 11:11:06 +1000 |
commit | 908d7f31672254f1f761a763f61443e1c657403b (patch) | |
tree | 38361e7a3620d14c5aae149796ba5742d0b50181 /RadTerminal.cpp | |
parent | 9c3c1b92c06fedd9a9d36ee2d245e5087badd27f (diff) | |
download | RadTerminal-908d7f31672254f1f761a763f61443e1c657403b.tar.gz RadTerminal-908d7f31672254f1f761a763f61443e1c657403b.zip |
Fix for dpi change
Diffstat (limited to 'RadTerminal.cpp')
-rw-r--r-- | RadTerminal.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/RadTerminal.cpp b/RadTerminal.cpp index fe35541..0ab4de4 100644 --- a/RadTerminal.cpp +++ b/RadTerminal.cpp @@ -1328,10 +1328,6 @@ LRESULT CALLBACK RadTerminalWindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPAR //return MyDefWindowProc(hWnd, uMsg, wParam, lParam); switch (uMsg) { - case WM_NCCREATE: - EnableNonClientDpiScaling(hWnd); - return MyDefWindowProc(hWnd, uMsg, wParam, lParam); - case WM_DPICHANGED: { RadTerminalData* const data = (RadTerminalData*) GetWindowLongPtr(hWnd, GWLP_USERDATA); |