From: SourceForge.net <no...@so...> - 2009-08-28 20:48:57
|
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 |