summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-04-14 14:29:37 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-04-14 14:29:37 +0300
commitbdf9b26bff9153bd5ee8fe186a370a4fbf33221a (patch)
tree701353da7e54e080c53de9f5c482d6b023baed33 /include
parentf50127c635c82f76249e9ad7446e7349a78a0cce (diff)
prevent CDlgBase from executing useless resize attempts
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 601e22456e..999db8899b 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -487,6 +487,7 @@ protected:
MWindow m_hwnd = nullptr; // must be the first data item
MWindow m_hwndParent = nullptr;
int m_idDialog;
+ RECT m_rcPrev;
bool m_isModal = false;
bool m_bInitialized = false;
@@ -496,7 +497,7 @@ protected:
bool m_bExiting = false; // window received WM_CLOSE and gonna die soon
enum { CLOSE_ON_OK = 0x1, CLOSE_ON_CANCEL = 0x2 };
- uint8_t m_autoClose; // automatically close dialog on IDOK/CANCEL commands. default: CLOSE_ON_OK|CLOSE_ON_CANCEL
+ uint8_t m_autoClose; // automatically close dialog on IDOK/CANCEL commands. default: CLOSE_ON_OK|CLOSE_ON_CANCEL
CMPluginBase &m_pPlugin;