summaryrefslogtreecommitdiffstats
path: root/collab/rapidsvn/patches/patch-src_rapidsvn_frame_cpp
blob: c3a49136a0ae3359efe4f5050df2246c41baa08c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$OpenBSD: patch-src_rapidsvn_frame_cpp,v 1.1 2007/10/08 20:38:17 steven Exp $
--- src/rapidsvn_frame.cpp.orig	Fri Dec  8 18:47:07 2006
+++ src/rapidsvn_frame.cpp	Mon Oct  8 13:01:47 2007
@@ -1150,7 +1150,7 @@ RapidSvnFrame::OnColumnReset (wxCommandEvent &)
 void
 RapidSvnFrame::OnColumn (wxCommandEvent & event)
 {
-  int eventId = event.m_id;
+  int eventId = event.GetId ();
   int col = 0;
   while (col < FileListCtrl::COL_COUNT &&
          m->ColumnList[col].id != eventId)
@@ -1192,7 +1192,7 @@ void
 RapidSvnFrame::OnColumnSorting (wxCommandEvent & event)
 {
   // we dont want to list FileListCtrl::COL_NAME/COL_PATH/... here
-  int col = event.m_id - ID_ColumnSort_Name;
+  int col = event.GetId () - ID_ColumnSort_Name;
 
   m->listCtrl->SetSortColumn (col);
   m->listCtrl->SetSortAscending (true);
@@ -1294,7 +1294,7 @@ RapidSvnFrame::OnInfo (wxCommandEvent & WXUNUSED (even
 void
 RapidSvnFrame::OnUpdateCommand (wxUpdateUIEvent & updateUIEvent)
 {
-  updateUIEvent.Enable (ValidateIDActionFlags (updateUIEvent.m_id, GetSelectionActionFlags ()));
+  updateUIEvent.Enable (ValidateIDActionFlags (updateUIEvent.GetId (), GetSelectionActionFlags ()));
 }
 
 void
@@ -1514,13 +1514,13 @@ RapidSvnFrame::OnFileCommand (wxCommandEvent & event)
 {
   Action* action = NULL;
 
-  if ((event.m_id >= ID_Verb_Min) && (event.m_id <= ID_Verb_Max))
+  if ((event.GetId () >= ID_Verb_Min) && (event.GetId () <= ID_Verb_Max))
   {
-    action = new ExternalProgramAction (this, event.m_id - ID_Verb_Min, false);
+    action = new ExternalProgramAction (this, event.GetId () - ID_Verb_Min, false);
   }
   else
   {
-    switch (event.m_id)
+    switch (event.GetId ())
     {
     case ID_Explore:
       action = new ExternalProgramAction (this, -1, true);