X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d2df97f6c86982383f1fb4beb45d66ab1e41879..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/dfb/dcmemory.cpp?ds=sidebyside diff --git a/src/dfb/dcmemory.cpp b/src/dfb/dcmemory.cpp index 5c77771059..8929ca41ce 100644 --- a/src/dfb/dcmemory.cpp +++ b/src/dfb/dcmemory.cpp @@ -65,7 +65,7 @@ void wxMemoryDCImpl::DoSelect(const wxBitmap& bitmap) { m_bmp = bitmap; - if ( !bitmap.Ok() ) + if ( !bitmap.IsOk() ) { // select the bitmap out of the DC m_surface = NULL;