]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/palette.h
remove SetBackgroundStyle call from OnInternalIdle, it should be done from realize...
[wxWidgets.git] / include / wx / msw / palette.h
index ee404a18816a2ba2b2b34fff804795e32f65e5f9..7d0cacec6a958e39248a8740cffe2bbbd665188d 100644 (file)
 
 #include "wx/gdiobj.h"
 
-class WXDLLEXPORT wxPalette : public wxPaletteBase
+class WXDLLIMPEXP_CORE wxPalette : public wxPaletteBase
 {
 public:
     wxPalette() { }
     wxPalette(int n,
-              unsigned char *red, unsigned char *green, unsigned char *blue)
+              const unsigned char *red, const unsigned char *green, const unsigned char *blue)
     {
         Create(n, red, green, blue);
     }
 
     bool Create(int n,
-                unsigned char *red, unsigned char *green, unsigned char *blue);
+                const unsigned char *red, const unsigned char *green, const unsigned char *blue);
 
     virtual int GetColoursCount() const;