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