From: Steve Brokenshire Date: Wed, 9 Mar 2016 23:02:48 +0000 (+0000) Subject: Added comments to describe functions in frmUpdate X-Git-Tag: release-0.11~163 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=a4513c3ff703855c502567814f08983c2e04513c;p=xestiaab%2F.git Added comments to describe functions in frmUpdate --- 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