]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcmemory.cpp
Disable CallAfter() for MSVC 7 too, it can't compile this code.
[wxWidgets.git] / src / os2 / dcmemory.cpp
index ccddc30e764f05dad55926ad0661490b97acf332..64acc9f90dadbba6274f1228b2bfa35fcb02ec32 100644 (file)
@@ -139,7 +139,7 @@ void wxMemoryDCImpl::DoSelect(
     if (m_hOldBitmap)
     {
         ::GpiSetBitmap(m_hPS, NULLHANDLE);
-        if (m_vSelectedBitmap.Ok())
+        if (m_vSelectedBitmap.IsOk())
         {
             m_vSelectedBitmap.SetSelectedInto(NULL);
             m_vSelectedBitmap = wxNullBitmap;
@@ -201,7 +201,7 @@ void wxMemoryDCImpl::DoGetSize(
 , int*                              pHeight
 ) const
 {
-    if (!m_vSelectedBitmap.Ok())
+    if (!m_vSelectedBitmap.IsOk())
     {
         *pWidth  = 0;
         *pHeight = 0;