X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..34326da778583ca8eab95f2e41738da2852a5a16:/demos/forty/card.cpp diff --git a/demos/forty/card.cpp b/demos/forty/card.cpp index f1f9dea885..ccb8102ef4 100644 --- a/demos/forty/card.cpp +++ b/demos/forty/card.cpp @@ -60,7 +60,7 @@ 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(wxT("Failed to load bitmap CardSymbols"), wxT("Error")); } @@ -68,7 +68,7 @@ Card::Card(int value, WayUp way_up) : if (!m_pictureBmap) { m_pictureBmap = new wxBitmap(Pictures); - if (!m_pictureBmap->Ok()) + if (!m_pictureBmap->IsOk()) { ::wxMessageBox(wxT("Failed to load bitmap CardPictures"), wxT("Error")); }