From eb2b6166df1b328a6c9382e0e0c32f4204bb6343 Mon Sep 17 00:00:00 2001
From: Francesco Montorsi <f18m_cpp217828@yahoo.it>
Date: Sat, 10 Jan 2009 18:00:53 +0000
Subject: [PATCH] do not use Ok(); use IsOk() instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 interface/wx/metafile.h                   | 4 ++--
 interface/wx/notebook.h                   | 2 +-
 interface/wx/richtext/richtextsymboldlg.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/interface/wx/metafile.h b/interface/wx/metafile.h
index 114b95f777..35afa09c4c 100644
--- a/interface/wx/metafile.h
+++ b/interface/wx/metafile.h
@@ -94,7 +94,7 @@ public:
     /**
         Returns @true if the metafile is valid.
     */
-    bool Ok();
+    bool IsOk();
 
     /**
         Plays the metafile into the given device context, returning
@@ -114,7 +114,7 @@ public:
 
         @code
         wxMetafileDC dc;
-        if (dc.Ok())
+        if (dc.IsOk())
         {
             Draw(dc, false);
             wxMetafile *mf = dc.Close();
diff --git a/interface/wx/notebook.h b/interface/wx/notebook.h
index 2e2003e884..d323d92e13 100644
--- a/interface/wx/notebook.h
+++ b/interface/wx/notebook.h
@@ -73,7 +73,7 @@
     overall theme, use:
     @code
     wxColour col = notebook->GetThemeBackgroundColour();
-    if (col.Ok())
+    if (col.IsOk())
     {
         page->SetBackgroundColour(col);
     }
diff --git a/interface/wx/richtext/richtextsymboldlg.h b/interface/wx/richtext/richtextsymboldlg.h
index c3e5740751..5391f5a810 100644
--- a/interface/wx/richtext/richtextsymboldlg.h
+++ b/interface/wx/richtext/richtextsymboldlg.h
@@ -42,7 +42,7 @@
         ctrl-GetStyle(ctrl->GetInsertionPoint(), attr);
 
         wxString currentFontName;
-        if (attr.HasFont() && attr.GetFont().Ok())
+        if (attr.HasFont() && attr.GetFont().IsOk())
             currentFontName = attr.GetFont().GetFaceName();
 
         // Don't set the initial font in the dialog (so the user is choosing
-- 
2.47.2