do not use Ok(); use IsOk() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user