From 15ebeb2e046303d1cbe7e0262949e9fb16547a4b Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 13 Mar 2016 09:59:47 +0000 Subject: [PATCH] Added comments to describe functions in frmContactEditorXToken --- source/contacteditor/frmContactEditorXToken.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/contacteditor/frmContactEditorXToken.cpp b/source/contacteditor/frmContactEditorXToken.cpp index 1e12de9..7d0d261 100644 --- a/source/contacteditor/frmContactEditorXToken.cpp +++ b/source/contacteditor/frmContactEditorXToken.cpp @@ -30,6 +30,8 @@ frmContactEditorXTokenADT( parent ) void frmContactEditorXToken::ProcessAction( wxCommandEvent& event ) { + // Process action. + long ListCtrlIndex; if (EditorMode == FALSE){ @@ -154,6 +156,8 @@ void frmContactEditorXToken::SetupPointers( std::map *XTokenList, int XTokenIndex ) { + // Setup the pointers. + XTokenListPtr = XTokenList; XTokenListTokensPtr = XTokenListTokens; XTokenListCtrlPtr = XTokenListCtrl; @@ -163,5 +167,8 @@ void frmContactEditorXToken::SetupPointers( std::map *XTokenList, void frmContactEditorXToken::CloseWindow( wxCommandEvent& event ) { + + // Close the window. + this->Close(); } -- 2.39.5