summaryrefslogtreecommitdiff
path: root/win/System.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/System.cpp')
-rw-r--r--win/System.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/System.cpp b/win/System.cpp
index acaba02..c581e83 100644
--- a/win/System.cpp
+++ b/win/System.cpp
@@ -798,6 +798,13 @@ void SystemUpdateCameraMenu(Camera* pCamera)
((CMainFrame*)AfxGetMainWnd())->UpdateMenuAccelerators();
}
+void SystemUpdateCategories(bool SearchOnly)
+{
+ CFrameWnd* pFrame = (CFrameWnd*)AfxGetMainWnd();
+ CPiecesBar* pBar = (CPiecesBar*)pFrame->GetControlBar(ID_VIEW_PIECES_BAR);
+ pBar->UpdatePiecesTree(SearchOnly);
+}
+
extern UINT AFXAPI AfxGetFileTitle(LPCTSTR lpszPathName, LPTSTR lpszTitle, UINT nMax);
extern UINT AFXAPI AfxGetFileName(LPCTSTR lpszPathName, LPTSTR lpszTitle, UINT nMax);