projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
renamed GlobalPtr to GlobalPtrLock
[wxWidgets.git]
/
src
/
msw
/
dib.cpp
diff --git
a/src/msw/dib.cpp
b/src/msw/dib.cpp
index 66ebda4954c55bc634f3b31f25d036aa8af2fdc9..9b1c1a6160f7c51b3417989432a05b6dab866e5b 100644
(file)
--- a/
src/msw/dib.cpp
+++ b/
src/msw/dib.cpp
@@
-566,7
+566,7
@@
HGLOBAL wxDIB::ConvertFromBitmap(HBITMAP hbmp)
return NULL;
}
- if ( !ConvertFromBitmap((BITMAPINFO *)(void *)GlobalPtr(hDIB), hbmp) )
+ if ( !ConvertFromBitmap((BITMAPINFO *)(void *)GlobalPtr
Lock
(hDIB), hbmp) )
{
// this really shouldn't happen... it worked the first time, why not
// now?