Fixes after stock gdi changes within core library

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-04-18 22:26:26 +00:00
parent e56f4f9e90
commit c0989defa0
7 changed files with 23 additions and 23 deletions

View File

@@ -233,8 +233,8 @@ bool DiagramCommand::Do(void)
theShape->AssignNewIds();
theShape->SetEventHandler(new MyEvtHandler(theShape, theShape, wxEmptyString));
theShape->SetCentreResize(false);
theShape->SetPen(*wxBLACK_PEN);
theShape->SetBrush(*wxCYAN_BRUSH);
theShape->SetPen(wxBLACK_PEN);
theShape->SetBrush(wxCYAN_BRUSH);
theShape->SetSize(60, 60);
}

View File

@@ -154,7 +154,7 @@ class DiagramCommand: public wxCommand
bool deleteShape;
// Storage for property commands
wxBrush *shapeBrush;
const wxBrush *shapeBrush;
wxPen *shapePen;
wxString shapeLabel;
public: