]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_panel.cpp
minimize searching for tlw parent, remove useless code
[wxWidgets.git] / src / xrc / xh_panel.cpp
index 6247d0600c354904404b08f7017297c335a81bca..04a21ddfbd9b2bf21099321ae0770b9c6ee00357 100644 (file)
 #if wxUSE_XRC
 
 #include "wx/xrc/xh_panel.h"
-#include "wx/panel.h"
-#include "wx/frame.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/panel.h"
+    #include "wx/frame.h"
+#endif
 
 IMPLEMENT_DYNAMIC_CLASS(wxPanelXmlHandler, wxXmlResourceHandler)