summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-27 21:21:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-27 21:21:26 +0300
commit7f8b0c98246e9a76b60c7e35765ba708cc1e40c5 (patch)
treeebb36f525bd45216cb8658b64b17e34ea901d4c9 /include
parent4d69ba53c962b683c5aac75d36309c57a0398055 (diff)
fixes #3465 (broken Profile Manager's UI)
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 60d4dc2933..17b544ef61 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -1413,6 +1413,7 @@ class MIR_CORE_EXPORT CCtrlPages : public CCtrlBase
HIMAGELIST m_hIml;
CDlgBase *m_pActivePage;
int m_numRows = 1;
+ bool m_bOwnPages = false;
struct TPageInfo;
void InsertPage(TPageInfo *pPage);
@@ -1439,6 +1440,10 @@ public:
{ return m_pActivePage;
}
+ __forceinline void SetPageOwner()
+ { m_bOwnPages = true;
+ }
+
protected:
BOOL OnNotify(int idCtrl, NMHDR *pnmh) override;