]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/palette.h
don't place NULL pointers in the GDK window array in GTKGetWindow()
[wxWidgets.git] / interface / wx / palette.h
index 1884f01f161656caecd096aa3f43182b1193a8c7..0a4f35678bf0ead66b1ab9b5b44593c3d171dcae 100644 (file)
@@ -132,9 +132,8 @@ public:
 
         @see GetPixel()
     */
-    bool GetRGB(int pixel, const unsigned char* red,
-                const unsigned char* green,
-                const unsigned char* blue) const;
+    bool GetRGB(int pixel, unsigned char* red, unsigned char* green,
+                unsigned char* blue) const;
 
     /**
         Returns @true if palette data is present.