diff options
Diffstat (limited to 'plugins/CrashDumper/src/ui.cpp')
-rw-r--r-- | plugins/CrashDumper/src/ui.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp index 50c7dd944c..cde5a7bf2f 100644 --- a/plugins/CrashDumper/src/ui.cpp +++ b/plugins/CrashDumper/src/ui.cpp @@ -33,6 +33,8 @@ public: m_btnCopyFile(this, IDC_FILEVER),
m_redtViewVersionInfo(this, IDC_VIEWVERSIONINFO)
{
+ SetMinSize(400, 300);
+
m_flags = flags;
m_forceResizable = true;
@@ -76,18 +78,6 @@ public: return true;
}
- INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override
- {
- if (msg == WM_GETMINMAXINFO) {
- LPMINMAXINFO mmi = (LPMINMAXINFO)lParam;
- mmi->ptMinTrackSize.x = 400; // The minimum width in points
- mmi->ptMinTrackSize.y = 300; // The minimum height in points
- return 0;
- }
-
- return CDlgBase::DlgProc(msg, wParam, lParam);
- }
-
int Resizer(UTILRESIZECONTROL * urc) override
{
switch (urc->wId) {
|