X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b7f2165565bb33b149baf1272e28f9a61d579d3..5c6bd4a9570c63619275710f0b91a93231532b98:/include/wx/layout.h diff --git a/include/wx/layout.h b/include/wx/layout.h index 0fcd64ecd8..fe232e266a 100644 --- a/include/wx/layout.h +++ b/include/wx/layout.h @@ -16,11 +16,11 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "layout.h" #endif -#include "wx/defs.h" +#include "wx/object.h" // X stupidly defines these in X.h #ifdef Above