]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bttn.cpp
Combine two wxImage-to-pixmap creation functions into one.
[wxWidgets.git] / src / xrc / xh_bttn.cpp
index ed74f1d3a1ba0a3ac4cdc10e17309a38945eea52..397c6dbe472903c446312d4b3fed148e12e16896 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_bttn.cpp
+// Name:        src/xrc/xh_bttn.cpp
 // Purpose:     XRC resource for buttons
 // Author:      Vaclav Slavik
 // Created:     2000/03/05
 #if wxUSE_XRC
 
 #include "wx/xrc/xh_bttn.h"
-#include "wx/button.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/button.h"
+#endif
 
 IMPLEMENT_DYNAMIC_CLASS(wxButtonXmlHandler, wxXmlResourceHandler)