32 const wxString& aDetailsUrl,
33 const wxString& aDownloadsUrl ) :
35 m_detailsUrl( aDetailsUrl ),
36 m_downloadsUrl( aDownloadsUrl )
38 wxString msg = wxString::Format(
_(
"KiCad %s is now available (you have %s). Would you like to download it now?" ), aNewVersion,
GetMajorMinorPatchVersion() );
54 EndModal( wxID_RETRY );
60 wxLaunchDefaultBrowser(
m_detailsUrl, wxBROWSER_NEW_WINDOW );
wxString GetMajorMinorPatchVersion()
Get the major, minor and patch version in a string major.minor.patch This is extracted by CMake from ...
Class DIALOG_UPDATE_NOTICE_BASE.
wxStaticText * m_messageLine2
virtual void OnBtnDownloadsPageClicked(wxCommandEvent &aEvent) override
DIALOG_UPDATE_NOTICE(wxWindow *aWindow, const wxString &aNewVersion, const wxString &aDetailsUrl, const wxString &aDownloadsUrl)
virtual void OnBtnRemindMeClicked(wxCommandEvent &aEvent) override
virtual void OnBtnDetailsPageClicked(wxCommandEvent &aEvent) override
virtual void OnSkipThisVersionClicked(wxCommandEvent &aEvent) override