X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..2e5f9929e68e3878728c6a915268f4e8ed09383a:/src/xrc/xh_chckb.cpp?ds=sidebyside

diff --git a/src/xrc/xh_chckb.cpp b/src/xrc/xh_chckb.cpp
index f67b7beb54..4f84fccd36 100644
--- a/src/xrc/xh_chckb.cpp
+++ b/src/xrc/xh_chckb.cpp
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_chckb.cpp
+// Name:        src/xrc/xh_chckb.cpp
 // Purpose:     XRC resource for wxCheckBox
 // Author:      Bob Mitchell
 // Created:     2000/03/21
@@ -18,7 +18,10 @@
 #if wxUSE_XRC && wxUSE_CHECKBOX
 
 #include "wx/xrc/xh_chckb.h"
-#include "wx/checkbox.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/checkbox.h"
+#endif
 
 IMPLEMENT_DYNAMIC_CLASS(wxCheckBoxXmlHandler, wxXmlResourceHandler)