]> git.saurik.com Git - wxWidgets.git/commitdiff
add wxBU_EXACTFIT support to wxToggleButton XRC handler (closes #10228)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Mar 2009 09:29:23 +0000 (09:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 20 Mar 2009 09:29:23 +0000 (09:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_tglbtn.cpp

index 91f433d8a9cbd5c1afc4be21f8de1c8acc872b49..c5f0b559e75031edbbedccd9f285ffe9fb3a8d1c 100644 (file)
 IMPLEMENT_DYNAMIC_CLASS(wxToggleButtonXmlHandler, wxXmlResourceHandler)
 
 wxToggleButtonXmlHandler::wxToggleButtonXmlHandler()
-: wxXmlResourceHandler()
+    : wxXmlResourceHandler()
 {
+    XRC_ADD_STYLE(wxBU_EXACTFIT);
+
     AddWindowStyles();
 }