]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/card.cpp
Make it possible to use svn-find-native-eols script without svn checkout.
[wxWidgets.git] / demos / forty / card.cpp
index 44a0f65d4bf46205e52a538256848aeb4583a028..ccb8102ef4b17185fa50a126d8415ab57e9e9763 100644 (file)
@@ -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"));
         }
     }