X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..779e28da630ef9fba6441fb0bab01cd538a7e7bb:/src/msw/gdiimage.cpp diff --git a/src/msw/gdiimage.cpp b/src/msw/gdiimage.cpp index 5b4c3d6b13..818b18f7bf 100644 --- a/src/msw/gdiimage.cpp +++ b/src/msw/gdiimage.cpp @@ -325,7 +325,7 @@ bool wxBMPResourceHandler::LoadFile(wxBitmap *bitmap, // TODO: load colourmap. bitmap->SetHBITMAP((WXHBITMAP)::LoadBitmap(wxGetInstance(), name.wx_str())); - if ( !bitmap->Ok() ) + if ( !bitmap->IsOk() ) { // it's probably not found wxLogError(wxT("Can't load bitmap '%s' from resources! Check .rc file."), @@ -494,7 +494,7 @@ bool wxICOFileHandler::LoadIcon(wxIcon *icon, icon->SetHICON((WXHICON)hicon); icon->SetSize(size.x, size.y); - return icon->Ok(); + return icon->IsOk(); } bool wxICOResourceHandler::LoadIcon(wxIcon *icon, @@ -559,7 +559,7 @@ bool wxICOResourceHandler::LoadIcon(wxIcon *icon, icon->SetHICON((WXHICON)hicon); - return icon->Ok(); + return icon->IsOk(); } // ----------------------------------------------------------------------------