projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1804e89
)
Should return wxImage not bool
author
Julian Smart
<julian@anthemion.co.uk>
Sun, 3 Apr 2005 19:30:16 +0000
(19:30 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Sun, 3 Apr 2005 19:30:16 +0000
(19:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33308
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/mgl/bitmap.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/mgl/bitmap.cpp
b/src/mgl/bitmap.cpp
index bef5fc7e40e0e8425e44c3086b7603bc2fa77b45..b8a3f3906d172c2060adb08f78db91aa91a6c4bc 100644
(file)
--- a/
src/mgl/bitmap.cpp
+++ b/
src/mgl/bitmap.cpp
@@
-317,7
+317,7
@@
wxBitmap::wxBitmap(const wxImage& image, int depth)
wxImage wxBitmap::ConvertToImage() const
{
- wxCHECK_MSG( Ok(),
FALSE
, wxT("invalid bitmap") );
+ wxCHECK_MSG( Ok(),
wxImage()
, wxT("invalid bitmap") );
int width, height;
width = GetWidth();