]> 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 5757f50b845b2d53d27771ddaa4418e4039af97d..4421c143d71549c1493a41aee9da34d9698418a1 100644 (file)
@@ -22,7 +22,7 @@
 
 IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
 
-#include "wx/mac/uma.h"
+#include "wx/osx/uma.h"
 
 //---------------------------------------------------------------------------
 // Helper functions
@@ -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 );