]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/card.cpp
scrolling windows need wx[HV]SCROLL style
[wxWidgets.git] / demos / forty / card.cpp
index 7f126fdafad1687aa2a3c6fca16b95d5a36b9410..44a0f65d4bf46205e52a538256848aeb4583a028 100644 (file)
@@ -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);