Ok()->IsOk() replacement.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-10-09 09:01:55 +00:00
parent 6c8f8e7e25
commit f97a9818a1

View File

@@ -817,7 +817,7 @@ MyFrame::MyFrame(const wxString& title)
wxImage imgPressed(wxT("dropbutp.png"));
wxImage imgHover(wxT("dropbuth.png"));
if ( imgNormal.Ok() && imgPressed.Ok() && imgHover.Ok() )
if ( imgNormal.IsOk() && imgPressed.IsOk() && imgHover.IsOk() )
{
wxBitmap bmpNormal(imgNormal);
wxBitmap bmpPressed(imgPressed);