aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@scintilla.org>2012-07-21 18:58:28 +1000
committerNeil Hodgson <nyamatongwe@scintilla.org>2012-07-21 18:58:28 +1000
commit28a6b6543584a15ce128408ed523b88c8b588394 (patch)
tree411899e4bb903ef778baa1cb4ddd53c307f20a92
parent7dcbdef9d6ae95e7c9232418d12195582faaa54b (diff)
downloadscintilla-mirror-28a6b6543584a15ce128408ed523b88c8b588394.tar.gz
Add extra argument to RGBAImage constructor.
-rw-r--r--gtk/PlatGTK.cxx2
-rw-r--r--win32/PlatWin.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index d98c23530..91fafcc9b 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -1858,7 +1858,7 @@ void ListBoxX::RegisterImage(int type, const char *xpm_data) {
}
void ListBoxX::RegisterRGBAImage(int type, int width, int height, const unsigned char *pixelsImage) {
- RegisterRGBA(type, new RGBAImage(width, height, pixelsImage));
+ RegisterRGBA(type, new RGBAImage(width, height, 1.0, pixelsImage));
}
void ListBoxX::ClearRegisteredImages() {
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 723995407..2dfdfb1ee 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -2388,7 +2388,7 @@ void ListBoxX::RegisterImage(int type, const char *xpm_data) {
}
void ListBoxX::RegisterRGBAImage(int type, int width, int height, const unsigned char *pixelsImage) {
- images.Add(type, new RGBAImage(width, height, pixelsImage));
+ images.Add(type, new RGBAImage(width, height, 1.0, pixelsImage));
}
void ListBoxX::ClearRegisteredImages() {