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:
@@ -817,7 +817,7 @@ MyFrame::MyFrame(const wxString& title)
|
|||||||
wxImage imgPressed(wxT("dropbutp.png"));
|
wxImage imgPressed(wxT("dropbutp.png"));
|
||||||
wxImage imgHover(wxT("dropbuth.png"));
|
wxImage imgHover(wxT("dropbuth.png"));
|
||||||
|
|
||||||
if ( imgNormal.Ok() && imgPressed.Ok() && imgHover.Ok() )
|
if ( imgNormal.IsOk() && imgPressed.IsOk() && imgHover.IsOk() )
|
||||||
{
|
{
|
||||||
wxBitmap bmpNormal(imgNormal);
|
wxBitmap bmpNormal(imgNormal);
|
||||||
wxBitmap bmpPressed(imgPressed);
|
wxBitmap bmpPressed(imgPressed);
|
||||||
|
Reference in New Issue
Block a user