From: Steve Brokenshire Date: Sun, 13 Mar 2016 09:59:47 +0000 (+0000) Subject: Added comments to describe functions in frmContactEditorXToken X-Git-Tag: release-0.11~121 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=15ebeb2e046303d1cbe7e0262949e9fb16547a4b;p=xestiaab%2F.git Added comments to describe functions in frmContactEditorXToken --- 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(); }