X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2FfrmUpdate.cpp;h=19c9e0156e7e024364e7303cea1003eb757b0b51;hp=2f01e45d71324b355648df85e54438b9b68eb4f4;hb=f69e09d827e06435ea94bb73aa71ab5f9d5c035b;hpb=a73019906500e3a0fc306a61e4b7975f79725866 diff --git a/source/frmUpdate.cpp b/source/frmUpdate.cpp index 2f01e45..19c9e01 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(); } @@ -61,7 +65,7 @@ void frmUpdate::FetchData() wxString PageData; wxString PageHeader; - wxString UpdateAddress = wxT("http://update.xestia.co.uk/"); + wxString UpdateAddress = wxT("https://update.xestia.co.uk/"); UpdateAddress.Append(XSDAB_SOURCE); curl_easy_setopt(conn, CURLOPT_URL, (const char*)UpdateAddress.mb_str(wxConvUTF8)); @@ -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