]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_bmpbt.cpp
disable the first top level parent, not the topmost top level parent
[wxWidgets.git] / contrib / src / xrc / xh_bmpbt.cpp
index 3e94df6875cec8f70a84b07e186527af03e602d4..984234d2105fec7f2503954ed19b7373972e0be2 100644 (file)
@@ -32,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();
 }