// accessors for various simply fields
// -----------------------------------
- // name of the program, if not used defaults wxApp::GetAppName()
+ // name of the program, if not used defaults to wxApp::GetAppDisplayName()
void SetName(const wxString& name) { m_name = name; }
wxString GetName() const
- { return m_name.empty() ? wxTheApp->GetAppName() : m_name; }
+ { return m_name.empty() ? wxTheApp->GetAppDisplayName() : m_name; }
// version of the program, in free format (but without "version" word)
void SetVersion(const wxString& version) { m_version = version; }
// artists and translators) as a one long multiline string
wxString GetDescriptionAndCredits() const;
+ // returns the copyright with the (C) string substituted by the Unicode
+ // character U+00A9
+ wxString GetCopyrightToDisplay() const;
+
private:
wxString m_name,
m_version,
};
// functions to show the about dialog box
-WXDLLIMPEXP_ADV void wxAboutBox(const wxAboutDialogInfo& info);
+WXDLLIMPEXP_ADV void wxAboutBox(const wxAboutDialogInfo& info, wxWindow* parent = NULL);
#endif // wxUSE_ABOUTDLG