[dasher: 31/217] Changed IDS_ to ID_



commit 76308581ed6622441eb0bf020bc9d3a8fc83e349
Author: Ron Bessems <ron b promixis com>
Date:   Fri Sep 11 19:45:25 2015 -0400

    Changed IDS_ to ID_

 Src/Win32/DasherWindow.cpp |   12 ++++++------
 Src/Win32/resource.h       |   10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/Src/Win32/DasherWindow.cpp b/Src/Win32/DasherWindow.cpp
index 9daefa6..6cd665c 100644
--- a/Src/Win32/DasherWindow.cpp
+++ b/Src/Win32/DasherWindow.cpp
@@ -226,19 +226,19 @@ LRESULT CDasherWindow::OnCommand(UINT message, WPARAM wParam, LPARAM lParam, BOO
   case ID_EDIT_SELECTALL:
     m_pEdit->SelectAll();
     return 0;
-  case IDS_EDIT_CUT:
+  case ID_EDIT_CUT:
     m_pEdit->Cut();
     return 0;
-  case IDS_EDIT_COPY:
+  case ID_EDIT_COPY:
     m_pEdit->Copy();
     return 0;
   case ID_EDIT_COPY_ALL:
     m_pDasher->CopyToClipboard(m_pDasher->GetAllContext());
     return 0;
-  case IDS_EDIT_PASTE:
+  case ID_EDIT_PASTE:
     m_pEdit->Paste();
     return 0;
-  case IDS_FILE_NEW:{
+  case ID_FILE_NEW:{
     m_pEdit->New();
     // Selecting file->new indicates a new trial to our user logging object
     CUserLogBase* pUserLog = m_pDasher->GetUserLogPtr();
@@ -247,10 +247,10 @@ LRESULT CDasherWindow::OnCommand(UINT message, WPARAM wParam, LPARAM lParam, BOO
     m_pDasher->SetBuffer(0);
     return 0;
   }
-  case IDS_FILE_OPEN:
+  case ID_FILE_OPEN:
     m_pEdit->Open();
     return 0;
-  case IDS_FILE_SAVE:
+  case ID_FILE_SAVE:
     if (!m_pEdit->Save())
       m_pEdit->SaveAs();
     return 0;
diff --git a/Src/Win32/resource.h b/Src/Win32/resource.h
index c8c158d..f191404 100644
--- a/Src/Win32/resource.h
+++ b/Src/Win32/resource.h
@@ -7,23 +7,18 @@
 #define IDD_ABOUTBOX                    105
 #define IDM_ABOUT                       106
 #define IDS_FILE_SAVE                   107
-#define ID_FILE_SAVE                                   107
 #define IDM_EXIT                        108
 #define IDS_OPTIONS_PREFS               108
 #define IDS_FILE_OPEN                   109
-#define ID_FILE_OPEN                                   109
 #define IDS_HELLO                       110
 #define IDS_FILE_NEW                    111
-#define ID_FILE_NEW                                            111
 #define IDI_DASHER                      112
 #define IDS_EDIT_CUT                    113
-#define ID_EDIT_CUT                                            113
 #define IDI_SMALL                       114
 #define IDS_EDIT_COPY                   115
 #define ID_EDIT_COPY                                   115
 #define IDC_DASHER                      116
 #define IDS_EDIT_PASTE                  117
-#define ID_EDIT_PASTE                                  117
 #define IDS_EDIT_COPY_ALL               119
 #define IDS_PREFS_TITLE                 140
 #define IDS_PREFS_CONTROL               141
@@ -102,6 +97,11 @@
 #define ID_IMPORT_TRAINFILE             32799
 #define ID_FILE_APPEND                  32800
 #define ID_FILE_SAVE_AS                                        32801
+#define ID_FILE_SAVE                                   32802
+#define ID_FILE_OPEN                                   32803
+#define ID_FILE_NEW                                            32804
+#define ID_EDIT_PASTE                                  32805
+#define ID_EDIT_CUT                                            32806
 // Next default values for new objects
 // 
 #ifdef APSTUDIO_INVOKED


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]