summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index d929d0ccd7..6450ec7164 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -1199,6 +1199,13 @@ public:
void AddPage(wchar_t *ptszName, HICON hIcon, CDlgBase *pDlg);
void ActivatePage(int iPage);
int GetCount(void);
+ int GetDlgIndex(CDlgBase*);
+
+ CDlgBase* GetNthPage(int iPage);
+
+ __forceinline CDlgBase* GetActivePage() const
+ { return m_pActivePage;
+ }
protected:
virtual BOOL OnNotify(int idCtrl, NMHDR *pnmh) override;
@@ -1224,6 +1231,7 @@ private:
CDlgBase *m_pDlg;
};
+ void InsertPage(TPageInfo *pPage);
void ShowPage(CDlgBase *pDlg);
TPageInfo* GetCurrPage();