]> git.saurik.com Git - wxWidgets.git/commitdiff
do not use Ok(); use IsOk() instead
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 10 Jan 2009 18:00:53 +0000 (18:00 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 10 Jan 2009 18:00:53 +0000 (18:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/metafile.h
interface/wx/notebook.h
interface/wx/richtext/richtextsymboldlg.h

index 114b95f777d4b2388d0a55f9fd63f897955c35cd..35afa09c4caa374801c8a193d1372947dc152ae2 100644 (file)
@@ -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();
index 2e2003e884cf9414f006f1a41469ee5ae72f320b..d323d92e1384e5099a797e611b24f7e48a64b3e2 100644 (file)
@@ -73,7 +73,7 @@
     overall theme, use:
     @code
     wxColour col = notebook->GetThemeBackgroundColour();
-    if (col.Ok())
+    if (col.IsOk())
     {
         page->SetBackgroundColour(col);
     }
index c3e574075169d506ed203be4207ec4fd3b0dbdfa..5391f5a81021015f741e024123d6826eb12599cb 100644 (file)
@@ -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