]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_bmpbt.h
use MSWAlwaysDrawBg() to fix the problem with black background; rewrote/cleaned up...
[wxWidgets.git] / include / wx / xrc / xh_bmpbt.h
index 0ddc5ca7868ddaacce0181f19da6637e5778420a..6a33f955facf8236e1ddfb2571b0b262ba2e3806 100644 (file)
@@ -17,6 +17,8 @@
 
 #include "wx/xrc/xmlres.h"
 
+#if wxUSE_XRC
+
 
 class WXDLLIMPEXP_XRC wxBitmapButtonXmlHandler : public wxXmlResourceHandler
 {
@@ -27,5 +29,7 @@ public:
     virtual bool CanHandle(wxXmlNode *node);
 };
 
+#endif // wxUSE_XRC
+
 
 #endif // _WX_XH_BMPBT_H_