]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/card.cpp
Minor changes, just trim trailing spaces in webview code.
[wxWidgets.git] / demos / forty / card.cpp
index f1f9dea885d1e44c8772ab08f704d1b6430fdc2e..ccb8102ef4b17185fa50a126d8415ab57e9e9763 100644 (file)
@@ -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"));
         }