Okay, (This was new to me) so I tried it. I have attached my pjd and
stuff. I am running on Windows XP, SP2, wxWidgets 2.8.5, VS 2005.
The documentation for wxAboutDialogInfo::SetCopyright says:
"Set the short string containing the program copyright information.
Notice that any occurrences of "(C)" in copyright will be replaced by
the copyright symbol (circled C) automatically, which means that you can
avoid using this symbol in the program source code which can be
problematic,"
I cut and pasted the example code and ran it (the attached pjd) and I
get (C)... instead of the copyright symbol.
What am I missing?
Thanks,
Ralph
ddotedotsdot wrote:
>
> --- In anthemion-devtools%40yahoogroups.com">anthemion-devtools
yahoogroups.com
> <mailto:anthemion-devtools%40yahoogroups.com>, Andreas Goebel <a-
> goebel
...> wrote:
> >
> > Hi,
> >
> > is there a nice wx- or DB way to automatically insert a version-
> number
> > into the "about"-dialogue? Like it´s done in DialogBlocks, for
> instance?
> >
> > Regards,
> >
> > Andreas
> >
>
> Hi!
>
> I'm not just exactly sure of what you're meaning. The wxAboutBox
> dialog uses a wxAboutDialogInfo class that has a version function:
>
> ::wxAboutBox
> void wxAboutBox(const wxAboutDialogInfo& info)
>
> This function shows the standard about dialog containing the
> information specified in info. If the current platform has a native
> about dialog which is capable of showing all the fields in info, the
> native dialog is used, otherwise the function falls back to the
> generic wxWidgets version of the dialog, i.e. does the same thing as
> wxGenericAboutBox().
>
> Here is an example of how this function may be used:
>
> void MyFrame::ShowSimpleAboutDialog(wxCommandEvent& WXUNUSED(event))
> {
> wxAboutDialogInfo info;
> info.SetName(_("My Program"));
> info.SetVersion(_("1.2.3 Beta"));
> info.SetDescription(_("This program does something great."));
> info.SetCopyright(_T("(C) 2007 Me < my%40email.addre.ss">my
email.addre.ss
> <mailto:my%40email.addre.ss>>"));
>
> wxAboutBox(info);
> }
>
> Please see the dialogs sample for more examples of using this
> function and wxAboutDialogInfo for the description of the information
> which can be shown in the about dialog.
> Include files
>
> <wx/aboutdlg.h>
>
> Is this not what you're talking about?
>
> HTH:
>
> thx,
> Dave S.
>
>
.