diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_console.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_console.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp index 6c1de0b61a..a4c2a4467c 100644 --- a/protocols/JabberG/src/jabber_console.cpp +++ b/protocols/JabberG/src/jabber_console.cpp @@ -315,7 +315,9 @@ class CJabberDlgConsole : public CJabberDlgBase public:
CJabberDlgConsole(CJabberProto *proto):
CJabberDlgBase(proto, IDD_CONSOLE)
- {}
+ {
+ SetMinSize(300, 400);
+ }
bool OnInitDialog() override
{
@@ -437,14 +439,6 @@ public: INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override
{
switch (msg) {
- case WM_GETMINMAXINFO:
- {
- LPMINMAXINFO lpmmi = (LPMINMAXINFO)lParam;
- lpmmi->ptMinTrackSize.x = 300;
- lpmmi->ptMinTrackSize.y = 400;
- return 0;
- }
-
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDOK:
|