Added more makefiles; fixed some samples for Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2007,7 +2007,7 @@ void wxShape::ReadAttributes(wxExpr *clause)
|
||||
if (brush_string == "")
|
||||
brush_string = "WHITE";
|
||||
|
||||
if (pen_string[0] == '#')
|
||||
if (pen_string.GetChar(0) == '#')
|
||||
{
|
||||
wxColour col(oglHexToColour(pen_string.After('#')));
|
||||
m_pen = wxThePenList->FindOrCreatePen(col, pen_width, pen_style);
|
||||
@@ -2018,7 +2018,7 @@ void wxShape::ReadAttributes(wxExpr *clause)
|
||||
if (!m_pen)
|
||||
m_pen = wxBLACK_PEN;
|
||||
|
||||
if (brush_string[0] == '#')
|
||||
if (brush_string.GetChar(0) == '#')
|
||||
{
|
||||
wxColour col(oglHexToColour(brush_string.After('#')));
|
||||
m_brush = wxTheBrushList->FindOrCreateBrush(col, brush_style);
|
||||
|
Reference in New Issue
Block a user