add wxBU_EXACTFIT support to wxToggleButton XRC handler (closes #10228)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-20 09:29:23 +00:00
parent f5dda646e2
commit 1baae6e46e
2 changed files with 10 additions and 1 deletions

View File

@@ -88,6 +88,13 @@ Major new features in 2.8 release
wxSearchCtrl, wxAboutBox, wxTreebook, tar streams. wxSearchCtrl, wxAboutBox, wxTreebook, tar streams.
2.8.11:
-------
All (GUI):
- Add wxBU_EXACTFIT support to wxToggleButton XRC handler (Ronny Krueger).
2.8.10: 2.8.10:
------- -------

View File

@@ -23,8 +23,10 @@
IMPLEMENT_DYNAMIC_CLASS(wxToggleButtonXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxToggleButtonXmlHandler, wxXmlResourceHandler)
wxToggleButtonXmlHandler::wxToggleButtonXmlHandler() wxToggleButtonXmlHandler::wxToggleButtonXmlHandler()
: wxXmlResourceHandler() : wxXmlResourceHandler()
{ {
XRC_ADD_STYLE(wxBU_EXACTFIT);
AddWindowStyles(); AddWindowStyles();
} }