Multi-line in wxToolBar controls

Hi,

I'd like to have a multi-line text in
my wxToolBar but i put a \n character in
the text, i got a square character instead
of a mult-line text. Is there an option
in the AddTool function or in the wxToolBar
constructor to get that ?

Thanks in advance.

Regards
Sebastien

Robin Dunn wrote:

Sebastien Hugues wrote:

I'd like to have a multi-line text in
my wxToolBar but i put a \n character in
the text, i got a square character instead
of a mult-line text. Is there an option
in the AddTool function or in the wxToolBar
constructor to get that ?

It has to be supported in the native toolbar widget.

I used Windows XP. It seems to be supported since i ever
seen applications with such a toolbar. Exact?

Sebastien

Sebastien Hugues wrote:

Robin Dunn wrote:

Sebastien Hugues wrote:

I'd like to have a multi-line text in
my wxToolBar but i put a \n character in
the text, i got a square character instead
of a mult-line text. Is there an option
in the AddTool function or in the wxToolBar
constructor to get that ?

It has to be supported in the native toolbar widget.

I used Windows XP. It seems to be supported since i ever
seen applications with such a toolbar. Exact?

On Windows there are more than one toolbar-like native control. I expect that wxWindows is using an older/simpler one. There has been discussion about improving the toolbar support, but it probably needs somebody to work on it.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!