]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/paletteg.h
adding wxArrayDouble for later use in graphics context APIs
[wxWidgets.git] / include / wx / generic / paletteg.h
index f059c0c4f55c9300418dfa460c5eec54c2edfe98..8de3db902911d2e73d4946cd1cb31d27d332b132 100644 (file)
@@ -29,10 +29,7 @@ class WXDLLIMPEXP_CORE wxPalette;
 
 class WXDLLIMPEXP_CORE wxPalette: public wxPaletteBase
 {
-  DECLARE_DYNAMIC_CLASS(wxPalette)
-
-  public:
-
+public:
     wxPalette();
     wxPalette( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue );
     virtual ~wxPalette();
@@ -44,7 +41,10 @@ class WXDLLIMPEXP_CORE wxPalette: public wxPaletteBase
     int GetPixel( unsigned char red, unsigned char green, unsigned char blue ) const;
     bool GetRGB( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const;
 
-    // no data
+    virtual int GetColoursCount() const;
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxPalette)
 };
 
 #endif // __WX_PALETTEG_H__