// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "button.h"
#endif
-#include "wx/defs.h"
+#include "wx/wxprec.h"
#include "wx/button.h"
#include "wx/panel.h"