]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/palette.cpp
Rename delegates to try and stop name clashes, probably with wxWebKitCtrl.
[wxWidgets.git] / src / mgl / palette.cpp
index 92536bb350ba7ac7a0e4d6f09bafe8b3da18ee24..fcac1e22ea427442cae607979f7f4acd94e78723 100644 (file)
@@ -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;
 }