X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6184558583df419ff7830abaf16e7ec40ac00b32..f2049b683752950d1fe91aec07318e7f2122ff16:/include/wx/palette.h diff --git a/include/wx/palette.h b/include/wx/palette.h index 8f2e85363d..ba94985c3a 100644 --- a/include/wx/palette.h +++ b/include/wx/palette.h @@ -20,14 +20,12 @@ #include "wx/gdiobj.h" // wxPaletteBase -class WXDLLEXPORT wxPaletteBase: public wxGDIObject +class WXDLLIMPEXP_CORE wxPaletteBase: public wxGDIObject { public: virtual ~wxPaletteBase() { } - virtual bool Ok() const { return IsOk(); } - virtual bool IsOk() const = 0; - virtual int GetColoursCount() const { wxFAIL_MSG( _T("not implemented") ); return 0; } + virtual int GetColoursCount() const { wxFAIL_MSG( wxT("not implemented") ); return 0; } }; #if defined(__WXPALMOS__) @@ -41,7 +39,7 @@ public: #elif defined(__WXMGL__) #include "wx/mgl/palette.h" #elif defined(__WXMAC__) - #include "wx/mac/palette.h" + #include "wx/osx/palette.h" #elif defined(__WXPM__) #include "wx/os2/palette.h" #endif