Fix to allow wxShapeRegion to display text, from George Seally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -136,7 +136,8 @@ class wxShapeRegion: public wxObject
|
||||
~wxShapeRegion();
|
||||
|
||||
// Accessors
|
||||
inline void SetText(const wxString& s) { m_regionText = s; }
|
||||
inline void SetText(const wxString& s)
|
||||
{ m_regionText = s; m_formattedText.Append(new wxShapeTextLine(0,0,s));}
|
||||
void SetFont(wxFont *f);
|
||||
void SetMinSize(double w, double h);
|
||||
void SetSize(double w, double h);
|
||||
|
Reference in New Issue
Block a user