diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_gui.h | 5 |
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;
|