Bugs item #2846507, was opened at 2009-08-28 20:48
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2846507&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: any
Group: last released version
Status: Open
Resolution: None
Priority: 5
Private: Yes
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug: Multiline text in wxButton::SetLabel()

Initial Comment:
The label string as an ctor argument of wxButton (for MSW) triggers the 
BS_MULTILINE style (by looking for '\n' in the label string). SetLabel() does 
not. 
Hence, if button labels are initialized, e.g. with wsEmptyString in the ctor, 
SetLabel() will not break label lines. Workarount: Initialize the label with 
wxT("\n") in ctor.

Great toolkit, yeah !!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2846507&group_id=51305

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to