]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/notebmac.cpp
Fix uninitialized variable warning in wxMSW wxFileSystemWatcher code.
[wxWidgets.git] / src / osx / carbon / notebmac.cpp
index 189b31c2a38e6b5b85219747099a988b330eac58..710aadbcb047caab5565af6112d45d1c7f5d490f 100644 (file)
@@ -169,7 +169,7 @@ void wxMacControl::SetupTabs( const wxNotebook& notebook)
         if ( notebook.GetImageList() && notebook.GetPageImage(ii) >= 0 )
         {
             const wxBitmap bmap = notebook.GetImageList()->GetBitmap( notebook.GetPageImage( ii ) ) ;
-            if ( bmap.Ok() )
+            if ( bmap.IsOk() )
             {
                 ControlButtonContentInfo info ;