mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:13:04 +00:00
[MSPAINT] Fix Copy and Paste
Call GetSelectionContents in SelectionModel::GetBitmap. CORE-18920, CORE-18867
This commit is contained in:
parent
639739a7cd
commit
96c7fe4ccd
3 changed files with 10 additions and 6 deletions
|
@ -349,8 +349,10 @@ void SelectionModel::StretchSkew(int nStretchPercentX, int nStretchPercentY, int
|
|||
NotifyRefreshNeeded();
|
||||
}
|
||||
|
||||
HBITMAP SelectionModel::GetBitmap() const
|
||||
HBITMAP SelectionModel::GetBitmap()
|
||||
{
|
||||
if (m_hbmColor == NULL)
|
||||
GetSelectionContents(imageModel.GetDC());
|
||||
return m_hbmColor;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue