From d8e1aa86f1335b02779e812edb23d3b9544f8e84 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 23 Mar 2004 20:46:17 +0000 Subject: [PATCH] Applied patch [ 919026 ] wxBU_EXACTFIT support in wxBitmapButtonXmlHandler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xrc/xh_bmpbt.cpp | 1 + src/xrc/xh_bmpbt.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/src/xrc/xh_bmpbt.cpp b/contrib/src/xrc/xh_bmpbt.cpp index 3e94df6875..984234d210 100644 --- a/contrib/src/xrc/xh_bmpbt.cpp +++ b/contrib/src/xrc/xh_bmpbt.cpp @@ -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(); } diff --git a/src/xrc/xh_bmpbt.cpp b/src/xrc/xh_bmpbt.cpp index 3e94df6875..984234d210 100644 --- a/src/xrc/xh_bmpbt.cpp +++ b/src/xrc/xh_bmpbt.cpp @@ -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(); } -- 2.50.0