add IsOk() to all classes having Ok() method (patch 1570985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -189,7 +189,7 @@ wxBitmap::wxBitmap(const char bits[], int width, int height, int depth)
|
||||
wxFAIL_MSG( _T("not implemented") );
|
||||
}
|
||||
|
||||
bool wxBitmap::Ok() const
|
||||
bool wxBitmap::IsOk() const
|
||||
{
|
||||
return (m_refData != NULL && M_BITMAP->m_surface);
|
||||
}
|
||||
|
Reference in New Issue
Block a user