summaryrefslogtreecommitdiff
path: root/win/System.cpp
diff options
context:
space:
mode:
authorleo2005-10-02 02:18:05 +0000
committerleo2005-10-02 02:18:05 +0000
commit97727601bdc6d93d1576ea80a01b820cc34e3fb1 (patch)
tree6af826de935c47448a1f927a9094c791cde5e98d /win/System.cpp
parentaf794d98734dc8477c5aff9eb297479f01ba8ecc (diff)
Made Region Select part of regular selection.
git-svn-id: http://svn.leocad.org/trunk@424 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/System.cpp')
-rw-r--r--win/System.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/win/System.cpp b/win/System.cpp
index 6406017..2c29db4 100644
--- a/win/System.cpp
+++ b/win/System.cpp
@@ -27,6 +27,7 @@
#include "LibDlg.h"
#include "EdGrpDlg.h"
#include "AboutDlg.h"
+#include "categdlg.h"
#include "cadbar.h"
#include "mainfrm.h"
@@ -1528,6 +1529,21 @@ bool SystemDoDialog(int nMode, void* param)
}
} break;
+ case LC_DLG_EDITCATEGORY:
+ {
+ CCategoryDlg Dlg;
+ LC_CATEGORYDLG_OPTS* Opts = (LC_CATEGORYDLG_OPTS*)param;
+
+ Dlg.m_Keywords = Opts->Keywords;
+ Dlg.m_Name = Opts->Name;
+
+ if (Dlg.DoModal() == IDOK)
+ {
+ Opts->Keywords = Dlg.m_Keywords;
+ Opts->Name = Dlg.m_Name;
+ }
+ } break;
+
case LC_DLG_ABOUT:
{
CAboutDlg dlg;