git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41087
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
m_modeOld = ::SetMapMode(hdc, mm);
if ( !m_modeOld )
{
m_modeOld = ::SetMapMode(hdc, mm);
if ( !m_modeOld )
wxLogLastError(_T("SelectClipRgn"));
wxLogLastError(_T("SelectClipRgn"));
{
m_hGlobal = ::GlobalAlloc(flags, size);
if ( !m_hGlobal )
{
m_hGlobal = ::GlobalAlloc(flags, size);
if ( !m_hGlobal )
wxLogLastError(_T("GlobalAlloc"));
wxLogLastError(_T("GlobalAlloc"));
}
~GlobalPtr()
{
if ( m_hGlobal && ::GlobalFree(m_hGlobal) )
}
~GlobalPtr()
{
if ( m_hGlobal && ::GlobalFree(m_hGlobal) )
wxLogLastError(_T("GlobalFree"));
wxLogLastError(_T("GlobalFree"));