X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b77c3fce750925bdd0cb33505439ddc5493a18e..c13d6ac1ea199d1e3908d40d129e2fd5a4d82df7:/src/x11/dcmemory.cpp?ds=sidebyside 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();