X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/mgl/palette.cpp diff --git a/src/mgl/palette.cpp b/src/mgl/palette.cpp index 92536bb350..fcac1e22ea 100644 --- a/src/mgl/palette.cpp +++ b/src/mgl/palette.cpp @@ -126,12 +126,12 @@ bool wxPalette::GetRGB(int pixel, int wxPalette::GetColoursCount() const { - wxCHECK_MSG( Ok(), 0, wxT("invalid palette") ); + wxCHECK_MSG( IsOk(), 0, wxT("invalid palette") ); return M_PALETTEDATA->m_count; } palette_t *wxPalette::GetMGLpalette_t() const { - wxCHECK_MSG( Ok(), NULL, wxT("invalid palette") ); + wxCHECK_MSG( IsOk(), NULL, wxT("invalid palette") ); return M_PALETTEDATA->m_entries; }