]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmpbt.cpp
extending calculation of visible region
[wxWidgets.git] / src / xrc / xh_bmpbt.cpp
index b0500ed45e00e43635c530ce1fa58dfde5f415c7..984234d2105fec7f2503954ed19b7373972e0be2 100644 (file)
@@ -22,6 +22,8 @@
 #include "wx/xrc/xh_bmpbt.h"
 #include <wx/bmpbuttn.h>
 
+IMPLEMENT_DYNAMIC_CLASS(wxBitmapButtonXmlHandler, wxXmlResourceHandler)
+
 wxBitmapButtonXmlHandler::wxBitmapButtonXmlHandler() 
 : wxXmlResourceHandler() 
 {
@@ -30,6 +32,7 @@ wxBitmapButtonXmlHandler::wxBitmapButtonXmlHandler()
     XRC_ADD_STYLE(wxBU_RIGHT);
     XRC_ADD_STYLE(wxBU_TOP);
     XRC_ADD_STYLE(wxBU_BOTTOM);
+    XRC_ADD_STYLE(wxBU_EXACTFIT);
     AddWindowStyles();
 }