List Info

Thread: TextCtrl wrapping styles




TextCtrl wrapping styles
country flaguser name
Germany
2007-04-12 03:12:16

Hi Julian,

Compiling against CVS head 'I found that wxTE_LINEWRAP is only supported by
backward compatability. I found this
#define wxTE_DONTWRAP wxHSCROLL
#define wxTE_CHARWRAP 0x4000 // wrap at any position
#define wxTE_WORDWRAP 0x0001 // wrap only at words boundaries
#define wxTE_BESTWRAP 0x0000 // this is the default

#if WXWIN_COMPATIBILITY_2_6
// obsolete synonym
#define wxTE_LINEWRAP wxTE_CHARWRAP
#endif // WXWIN_COMPATIBILITY_2_6
in textctrl.h.

Maybe you could add charwrap to DB.

Regards,
Thomas

--
Dipl.-Ing. Thomas Zehbe
INGENION GmbH
Kuhweide 6
31552 Apelern
Fon: 05043 / 40 57 90 4
Fax: 05043 / 40 57 90 7
www.ingenion.de

__._,_.___
.

__,_._,___
Re: TextCtrl wrapping styles
country flaguser name
United Kingdom
2007-04-17 11:45:12

Thomas Zehbe wrote:
> Hi Julian,
>
> Compiling against CVS head 'I found that wxTE_LINEWRAP is only supported by
> backward compatability. I found this
>; #define wxTE_DONTWRAP wxHSCROLL
> #define wxTE_CHARWRAP 0x4000 // wrap at any position
> #define wxTE_WORDWRAP 0x0001 // wrap only at words boundaries
> #define wxTE_BESTWRAP 0x0000 // this is the default
>
> #if WXWIN_COMPATIBILITY_2_6
> // obsolete synonym
> #define wxTE_LINEWRAP wxTE_CHARWRAP
> #endif // WXWIN_COMPATIBILITY_2_6
> in textctrl.h.
>
> Maybe you could add charwrap to DB.
>
Good point, I'll replace wxTE_LINEWRAP with wxTE_CHARWRAP in DB.

Regards,

Julian

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )