if (!m_symbolBmap)
{
m_symbolBmap = new wxBitmap(symbols_xpm);
- if (!m_symbolBmap->Ok())
+ if (!m_symbolBmap->IsOk())
{
- ::wxMessageBox(_T("Failed to load bitmap CardSymbols"), _T("Error"));
+ ::wxMessageBox(wxT("Failed to load bitmap CardSymbols"), wxT("Error"));
}
}
if (!m_pictureBmap)
{
m_pictureBmap = new wxBitmap(Pictures);
- if (!m_pictureBmap->Ok())
+ if (!m_pictureBmap->IsOk())
{
- ::wxMessageBox(_T("Failed to load bitmap CardPictures"), _T("Error"));
+ ::wxMessageBox(wxT("Failed to load bitmap CardPictures"), wxT("Error"));
}
}
dc.SetBackground(* wxRED_BRUSH);
dc.SetBackgroundMode(wxSOLID);
wxBrush* brush = wxTheBrushList->FindOrCreateBrush(
- _T("BLACK"), wxCROSSDIAG_HATCH
+ *wxBLACK, wxCROSSDIAG_HATCH
);
dc.SetBrush(* brush);