X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ca0d8122ab2ecbce178aa9f21f13270c4ffaca0..880f53691238fe11ae8d31c2c37b0ea0e39bf8ba:/src/mac/carbon/checkbox.cpp diff --git a/src/mac/carbon/checkbox.cpp b/src/mac/carbon/checkbox.cpp index 9c4f5f75d2..b8ad8a5169 100644 --- a/src/mac/carbon/checkbox.cpp +++ b/src/mac/carbon/checkbox.cpp @@ -9,11 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "checkbox.h" #endif -#include "wx/defs.h" +#include "wx/wxprec.h" + +#if wxUSE_CHECKBOX #include "wx/checkbox.h" @@ -178,4 +180,4 @@ bool wxBitmapCheckBox::GetValue() const return FALSE; } - +#endif