X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b76325cdcf8d1a65d6f4bda28c2eaa86394b035..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/msw/private.h diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index 8581da0c67..dd0bd996a3 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -335,9 +335,7 @@ inline RECT wxGetWindowRect(HWND hwnd) RECT rect; if ( !::GetWindowRect(hwnd, &rect) ) - { wxLogLastError(_T("GetWindowRect")); - } return rect; } @@ -347,9 +345,7 @@ inline RECT wxGetClientRect(HWND hwnd) RECT rect; if ( !::GetClientRect(hwnd, &rect) ) - { wxLogLastError(_T("GetClientRect")); - } return rect; } @@ -505,9 +501,7 @@ public: : m_hdc(hdc) { if ( !::SelectClipRgn(hdc, hrgn) ) - { wxLogLastError(_T("SelectClipRgn")); - } } ~HDCClipper() @@ -593,9 +587,7 @@ public: { m_ptr = GlobalLock(hGlobal); if ( !m_ptr ) - { wxLogLastError(_T("GlobalLock")); - } } ~GlobalPtrLock()