From a4513c3ff703855c502567814f08983c2e04513c Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 9 Mar 2016 23:02:48 +0000 Subject: [PATCH] Added comments to describe functions in frmUpdate --- source/frmUpdate.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/frmUpdate.cpp b/source/frmUpdate.cpp index 2f01e45..74f5770 100644 --- a/source/frmUpdate.cpp +++ b/source/frmUpdate.cpp @@ -24,6 +24,8 @@ size_t WritebackFuncUpdate(char *ptr, size_t size, size_t nmemb, wxString *stream){ + // Write back function for getting version information. + wxString Data; //wxString *PageInput; Data = wxString::FromUTF8((char *)ptr); @@ -44,6 +46,8 @@ frmUpdateADT( parent ) void frmUpdate::CloseWindow( wxCommandEvent& event ) { + // Close this window. + this->Close(); } @@ -195,12 +199,16 @@ void frmUpdate::FetchData() void frmUpdate::VisitGelforn( wxCommandEvent &event ){ + // Launch the Xestia Gelforn website. + wxLaunchDefaultBrowser(wxT("https://gelforn.xestia.co.uk/")); } void frmUpdate::VisitPREMIUM( wxCommandEvent &event ){ + // Launch the Xestia PREMIUM website. + wxLaunchDefaultBrowser(wxT("https://premium.xestia.co.uk/")); } \ No newline at end of file -- 2.39.2