]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/bmpbuttn.cpp
fix warning about possible uninitialized variable with VC9 (part of #9803)
[wxWidgets.git] / src / osx / carbon / bmpbuttn.cpp
index 36512500e32da4e720ef3bdc422d7c74ad8252e5..4421c143d71549c1493a41aee9da34d9698418a1 100644 (file)
@@ -137,7 +137,7 @@ bool wxBitmapButton::Create( wxWindow *parent,
     verify_noerr( err );
 
     wxMacReleaseBitmapButton( &info );
-    wxASSERT_MSG( m_peer != NULL && m_peer->Ok(), wxT("No valid native Mac control") );
+    wxASSERT_MSG( m_peer != NULL && m_peer->IsOk(), wxT("No valid native Mac control") );
 
     MacPostControlCreate( pos, size );