X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..8e33de15b5d050e5c3a781e6f1ec059405f72c9b:/include/wx/mgl/palette.h

diff --git a/include/wx/mgl/palette.h b/include/wx/mgl/palette.h
index 9d7574dd7c..459403fc40 100644
--- a/include/wx/mgl/palette.h
+++ b/include/wx/mgl/palette.h
@@ -20,7 +20,7 @@
 // classes
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPalette;
+class WXDLLIMPEXP_FWD_CORE wxPalette;
 struct palette_t;
 
 //-----------------------------------------------------------------------------
@@ -35,9 +35,8 @@ public:
     wxPalette();
     wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
     virtual ~wxPalette();
-    bool operator == (const wxPalette& palette) const;
-    bool operator != (const wxPalette& palette) const;
-    virtual bool Ok() const;
+    virtual bool Ok() const { return IsOk(); }
+    virtual bool IsOk() const;
 
     bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
     int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;