]> 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 fd7406c8d6dfb34567579e910ef194b9bc6f30b3..0a4f35678bf0ead66b1ab9b5b44593c3d171dcae 100644 (file)
@@ -132,14 +132,13 @@ public:
 
         @see GetPixel()
     */
 
         @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.
     */
 
     /**
         Returns @true if palette data is present.
     */
-    bool IsOk() const;
+    virtual bool IsOk() const;
 
     /**
         Assignment operator, using @ref overview_refcount.
 
     /**
         Assignment operator, using @ref overview_refcount.