X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdaf613add176525ed8b6cafaf278dfd80f85074..721a4a08bce5245dd748a9f4c64c5d25a02e8155:/src/mac/carbon/button.cpp diff --git a/src/mac/carbon/button.cpp b/src/mac/carbon/button.cpp index 53c0861dbe..363789a945 100644 --- a/src/mac/carbon/button.cpp +++ b/src/mac/carbon/button.cpp @@ -13,6 +13,8 @@ #pragma implementation "button.h" #endif +#include "wx/defs.h" + #include "wx/button.h" #include "wx/panel.h" @@ -55,7 +57,7 @@ void wxButton::SetDefault() panel->SetDefaultItem(this); } -#ifdef __UNIX__ +#ifdef __DARWIN__ Boolean inData; if ( btnOldDefault && btnOldDefault->m_macControl ) {