X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b77c3fce750925bdd0cb33505439ddc5493a18e..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/x11/dcmemory.cpp diff --git a/src/x11/dcmemory.cpp b/src/x11/dcmemory.cpp index be343b1a3b..bdafb7aaf9 100644 --- a/src/x11/dcmemory.cpp +++ b/src/x11/dcmemory.cpp @@ -26,14 +26,14 @@ IMPLEMENT_ABSTRACT_CLASS(wxMemoryDCImpl,wxWindowDCImpl) wxMemoryDCImpl::wxMemoryDCImpl( wxDC *owner ) : wxWindowDCImpl( owner ) -{ +{ Init(); } wxMemoryDCImpl::wxMemoryDCImpl( wxDC *owner, wxBitmap& bitmap ) : wxWindowDCImpl( owner ) -{ - Init(); +{ + Init(); DoSelect(bitmap); } @@ -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();