projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b76325
)
more warning fixes about empty if statement in helper classes in release build
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 9 Sep 2006 13:10:32 +0000
(13:10 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 9 Sep 2006 13:10:32 +0000
(13:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41087
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
include/wx/msw/private.h
patch
|
blob
|
blame
|
history
diff --git
a/include/wx/msw/private.h
b/include/wx/msw/private.h
index 8581da0c675d8926cc529ea7e100704fe7e61a7c..3d9a48d18a7c38002672c962f18526c58de551c2 100644
(file)
--- a/
include/wx/msw/private.h
+++ b/
include/wx/msw/private.h
@@
-536,7
+536,9
@@
private:
{
m_modeOld = ::SetMapMode(hdc, mm);
if ( !m_modeOld )
+ {
wxLogLastError(_T("SelectClipRgn"));
+ }
}
~HDCMapModeChanger()
@@
-565,13
+567,17
@@
public:
{
m_hGlobal = ::GlobalAlloc(flags, size);
if ( !m_hGlobal )
+ {
wxLogLastError(_T("GlobalAlloc"));
+ }
}
~GlobalPtr()
{
if ( m_hGlobal && ::GlobalFree(m_hGlobal) )
+ {
wxLogLastError(_T("GlobalFree"));
+ }
}
// implicit conversion