]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/button.cpp
fix warning about possible uninitialized variable with VC9 (part of #9803)
[wxWidgets.git] / src / osx / carbon / button.cpp
index 6c57596e6a69f50736cff4f879eb5b03c7dc4bfb..9974fc5aa41081fc591ad13c6c9e5a22564b98f0 100644 (file)
@@ -154,7 +154,7 @@ wxSize wxButton::DoGetBestSize() const
 
         wxCFStringRef str( m_label,  GetFont().GetEncoding() );
 
-#if wxMAC_USE_ATSU_TEXT
+#if wxOSX_USE_ATSU_TEXT
         SInt16 baseline;
         if ( m_font.MacGetThemeFontID() != kThemeCurrentPortFont )
         {