| 45 | } |
| 46 | |
| 47 | GdiObjectSelection::GdiObjectSelection(HDC hdc, HGDIOBJ hObject) : |
| 48 | m_hdc(hdc), m_hObject(SelectObject(hdc, hObject)) |
| 49 | { |
| 50 | if (!m_hObject) |
| 51 | ThrowLastError("SelectObject"); |
| 52 | } |
| 53 | |
| 54 | GdiObjectSelection::~GdiObjectSelection() |
| 55 | { |
nothing calls this directly
no test coverage detected