Regards,
Julian
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks
EN> I have asked this question before but I have not seen any sollution.
EN> Looking through the source code makes me conclude with that this is
EN> hardcoded in the source in the src/common/filepickercmn.cpp file :
EN>
EN> const wxChar wxFilePickerWidgetLabel[] = wxT("Browse");
EN> const wxChar wxDirPickerWidgetLabel[] = wxT("Browse");
I'm afraid there is indeed no solution except changing wx. I've just done
this in the trunk:
http://svn.wxwidgets.org/viewvc/wx?view=rev&revision=50585
and we probably can backport this to 2.8 too.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Gerald Brandt wrote:
> My mistake for being so general. I did mean a new handler, of course.
>
> So, will there be an OpenDocument handler in 3.0 then?
Maybe if there's some demand for it, I could tidy up my code and add it
to SVN, but due to the way ODF requires named styles for all formatting,
my own implementation overrides a lot of the wxRTC style handling. So
(perhaps contrary to the tone of my previous mail!) it's not quite as
simple as adding a handler. Probably wxRTC itself should use auto-styles
as an option, but I don't want to bloat the basic implementation with
code that most may not need.
>
> I've read somewhere that the Rich Text Control went through some
> changes. Is there somewhere I could see the list of changes
> summarized, or should I just browse the SVN repo?
Most relevant changes are mentioned in docs/changes.txt for 2.8.7, but
I've just improved wxRTC performance by a factor of 3 or so (maybe more)
and that'll be in 2.8.8. Or you can replace your richtextbuffer.cpp with
the latest in SVN for WX_2_8_BRANCH.
Regards,
Julian
> Hi Gerald,
>
> Gerald Brandt wrote:
> > My mistake for being so general. I did mean a new handler, of course.
> >
> > So, will there be an OpenDocument handler in 3.0 then?
> Maybe if there's some demand for it, I could tidy up my code and add it
> to SVN, but due to the way ODF requires named styles for all formatting,
> my own implementation overrides a lot of the wxRTC style handling. So
> (perhaps contrary to the tone of my previous mail!) it's not quite as
> simple as adding a handler. Probably wxRTC itself should use auto-styles
> as an option, but I don't want to bloat the basic implementation with
> code that most may not need.
I have no idea about the changes or enhancements required, but having
wxRichTextCtrl handle the OpenDocument would surely be great.
Robert
-ashish
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscr...@lists.wxwidgets.org
> For additional commands, e-mail: wx-users-h...@lists.wxwidgets.org
On Sat, 08 Dec 2007 00:42:59 +0100 Eirik Nesje <ein...@online.no> wrote:
I'm afraid there is indeed no solution except changing wx. I've just done
this in the trunk:
http://svn.wxwidgets.org/viewvc/wx?view=rev&revision=50585
and we probably can backport this to 2.8 too.
B> As FilePicker is derived from wxControl, is there some reason that
B> SetLabel() should not be usable, to change the button text?
B>
B> I want to use the FilePicker to save a non-existing file,
B> and "Browse" doesn't really make sense to me for that,
B> in the context of my application.
It seems like a good idea to use SetLabel() for this. At least I don't see
anything against it. If anybody feels like making a patch implementing this
(it should be really simple for the generic version but I don't know about
the native ones), it would be welcome.
Thanks,