projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't create uneeded variables.
[wxWidgets.git]
/
demos
/
forty
/
card.cpp
diff --git
a/demos/forty/card.cpp
b/demos/forty/card.cpp
index 7f126fdafad1687aa2a3c6fca16b95d5a36b9410..44a0f65d4bf46205e52a538256848aeb4583a028 100644
(file)
--- a/
demos/forty/card.cpp
+++ b/
demos/forty/card.cpp
@@
-170,7
+170,7
@@
void Card::Draw(wxDC& dc, int x, int y)
dc.SetBackground(* wxRED_BRUSH);
dc.SetBackgroundMode(wxSOLID);
wxBrush* brush = wxTheBrushList->FindOrCreateBrush(
-
_T("BLACK")
, wxCROSSDIAG_HATCH
+
*wxBLACK
, wxCROSSDIAG_HATCH
);
dc.SetBrush(* brush);