diff --git a/include/wx/mac/private/print.h b/include/wx/mac/private/print.h index 7052401ca6..150be6d99f 100644 --- a/include/wx/mac/private/print.h +++ b/include/wx/mac/private/print.h @@ -1,4 +1,4 @@ -#if __WXMAC_CLASSIC__ +#ifdef __WXMAC_CLASSIC__ #include "wx/mac/classic/private/print.h" #else #include "wx/mac/carbon/private/print.h" diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 3a94f14a54..3ed2418065 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -27,7 +27,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl) BEGIN_EVENT_TABLE(wxListBox, wxControl) -#if !__WXMAC_OSX__ +#ifndef __WXMAC_OSX__ EVT_SIZE( wxListBox::OnSize ) EVT_CHAR( wxListBox::OnChar ) #endif