X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f600738e8f6da6a965cfb717efdb9bb17122f168..ff1dadae388b2f408874b80251d64d16d9d46280:/include/wx/region.h diff --git a/include/wx/region.h b/include/wx/region.h index a4d68ec2ae..b0a6c47bdd 100644 --- a/include/wx/region.h +++ b/include/wx/region.h @@ -82,7 +82,8 @@ public: // accessors // --------- - bool Ok() const { return m_refData != NULL; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return m_refData != NULL; } // Is region empty? virtual bool IsEmpty() const = 0;