Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters/PinInfoWnd.h')
-rw-r--r--src/filters/PinInfoWnd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/filters/PinInfoWnd.h b/src/filters/PinInfoWnd.h
index 441d1764f..6fa7ef346 100644
--- a/src/filters/PinInfoWnd.h
+++ b/src/filters/PinInfoWnd.h
@@ -22,7 +22,8 @@
#pragma once
#include "InternalPropertyPage.h"
-#include <afxcmn.h>
+#include "../mpc-hc/DpiHelper.h"
+#include <atlcoll.h>
class __declspec(uuid("A1EB391C-6089-4A87-9988-BE50872317D4"))
CPinInfoWnd : public CInternalPropertyPageWnd
@@ -38,6 +39,8 @@ class __declspec(uuid("A1EB391C-6089-4A87-9988-BE50872317D4"))
CComboBox m_pin_combo;
CEdit m_info_edit;
+ DpiHelper m_dpi;
+
void AddLine(CString str);
public:
@@ -50,7 +53,7 @@ public:
bool OnApply();
static LPCTSTR GetWindowTitle() { return _T("Pin Info"); }
- static CSize GetWindowSize() { return CSize(500, 300); }
+ static CSize GetWindowSize() { return { 0, 0 }; }
DECLARE_MESSAGE_MAP()