]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_bttn.cpp
check for m_parentAsWindow!=NULL
[wxWidgets.git] / contrib / src / xrc / xh_bttn.cpp
index e86eb5531d64f1bf109c777e20a9b8d75c9fb963..5ed5ee88db3dfd3f2cb4f39582fd2e97e0ac1778 100644 (file)
@@ -31,6 +31,7 @@ wxButtonXmlHandler::wxButtonXmlHandler()
     XRC_ADD_STYLE(wxBU_RIGHT);
     XRC_ADD_STYLE(wxBU_TOP);
     XRC_ADD_STYLE(wxBU_BOTTOM);
+    XRC_ADD_STYLE(wxBU_EXACTFIT);
     AddWindowStyles();
 }