projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
736b80c
)
Commented out palette code for wxGTK
author
Julian Smart
<julian@anthemion.co.uk>
Mon, 4 Sep 2000 14:07:50 +0000
(14:07 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Mon, 4 Sep 2000 14:07:50 +0000
(14:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8250
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/gifdecod.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/gifdecod.cpp
b/src/common/gifdecod.cpp
index a2137fab2242f96fba6ff862b13aeeea24faed9f..c08bf1fdf62a7f4810aff262100a143647ca4277 100644
(file)
--- a/
src/common/gifdecod.cpp
+++ b/
src/common/gifdecod.cpp
@@
-127,6
+127,8
@@
bool wxGIFDecoder::ConvertToImage(wxImage *image) const
image->SetMask(FALSE);
// Set the palette
+ // Palette creation not yet implemented on wxGTK
+#ifndef __WXGTK__
if (pal)
{
unsigned char* r = new unsigned char[256];
@@
-141,6
+143,7
@@
bool wxGIFDecoder::ConvertToImage(wxImage *image) const
image->SetPalette(wxPalette(256, r, g, b));
delete[] r; delete[] g; delete[] b;
}
+#endif
/* copy image data */
for (i = 0; i < (GetWidth() * GetHeight()); i++, src++)