memdc and bitmap fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-07-13 17:00:29 +00:00
parent 5a8c929eb4
commit 0180d5daae
11 changed files with 63 additions and 14 deletions

View File

@@ -51,6 +51,8 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
}
SetUpDC();
m_isDrawable = FALSE;
}
else
{
@@ -59,7 +61,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
};
};
void wxMemoryDC::GetSize( int *width, int *height )
void wxMemoryDC::GetSize( int *width, int *height ) const
{
if (m_selected.Ok())
{