X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19bc15143af345787753717e2a1b22a29e339469..aa3cb98a4058245f50185090c4d8a2e42548c95e:/demos/forty/card.cpp diff --git a/demos/forty/card.cpp b/demos/forty/card.cpp index 44a0f65d4b..ccb8102ef4 100644 --- a/demos/forty/card.cpp +++ b/demos/forty/card.cpp @@ -60,17 +60,17 @@ Card::Card(int value, WayUp way_up) : 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")); } }