]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dcmemory.cpp
Move wxWebView-related definitions to webview_ie.cpp and fix them.
[wxWidgets.git] / src / x11 / dcmemory.cpp
index e8124afc8452456598a014c9e14d26a0cd011e48..bdafb7aaf9778bbc39e143f1cfd9a7d27abc239f 100644 (file)
@@ -62,7 +62,7 @@ void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap )
     Destroy();
 
     m_selected = bitmap;
-    if (m_selected.Ok())
+    if (m_selected.IsOk())
     {
         if (m_selected.GetPixmap())
         {
@@ -86,7 +86,7 @@ void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap )
 
 void wxMemoryDCImpl::DoGetSize( int *width, int *height ) const
 {
-    if (m_selected.Ok())
+    if (m_selected.IsOk())
     {
         if (width) (*width) = m_selected.GetWidth();
         if (height) (*height) = m_selected.GetHeight();