git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57979
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/**
Returns @true if the metafile is valid.
*/
- bool Ok();
+ bool IsOk();
/**
Plays the metafile into the given device context, returning
@code
wxMetafileDC dc;
- if (dc.Ok())
+ if (dc.IsOk())
{
Draw(dc, false);
wxMetafile *mf = dc.Close();
overall theme, use:
@code
wxColour col = notebook->GetThemeBackgroundColour();
- if (col.Ok())
+ if (col.IsOk())
{
page->SetBackgroundColour(col);
}
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