Replace wxDeprecatedGUIConstants enum values
This commit is contained in:
@@ -9657,7 +9657,7 @@ bool wxRichTextFieldTypeStandard::Draw(wxRichTextField* obj, wxDC& dc, wxRichTex
|
||||
int w, h, maxDescent;
|
||||
dc.SetFont(m_font);
|
||||
dc.GetTextExtent(m_label, & w, &h, & maxDescent);
|
||||
dc.SetBackgroundMode(wxTRANSPARENT);
|
||||
dc.SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT);
|
||||
dc.SetTextForeground(textColour);
|
||||
|
||||
int x = clientArea.x + (clientArea.width - w)/2;
|
||||
|
||||
Reference in New Issue
Block a user