X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9a4f2295344414e2ee4e3ec27fa5292918dff27..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/osx/cocoa/notebook.mm?ds=inline diff --git a/src/osx/cocoa/notebook.mm b/src/osx/cocoa/notebook.mm index 398d3798fa..ff4e70b7c7 100644 --- a/src/osx/cocoa/notebook.mm +++ b/src/osx/cocoa/notebook.mm @@ -49,7 +49,7 @@ - (id) init { - [super init]; + self = [super init]; return self; } @@ -175,7 +175,7 @@ public: if ( notebook.GetImageList() && notebook.GetPageImage(i) >= 0 ) { const wxBitmap bmap = notebook.GetImageList()->GetBitmap( notebook.GetPageImage( i ) ) ; - if ( bmap.Ok() ) + if ( bmap.IsOk() ) { // TODO how to set an image on a tab }