]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_html.cpp
disable the first top level parent, not the topmost top level parent
[wxWidgets.git] / contrib / src / xrc / xh_html.cpp
index 183e0ae5ef5fd01d3d29ac251622e2b4302e9229..8fe80d2082160ddb0bb17d10f9236e8466f8aa5e 100644 (file)
 #include "wx/html/htmlwin.h"
 #include "wx/filesys.h"
 
+IMPLEMENT_DYNAMIC_CLASS(wxHtmlWindowXmlHandler, wxXmlResourceHandler)
 
 wxHtmlWindowXmlHandler::wxHtmlWindowXmlHandler() 
 : wxXmlResourceHandler() 
 {
     XRC_ADD_STYLE(wxHW_SCROLLBAR_NEVER);
     XRC_ADD_STYLE(wxHW_SCROLLBAR_AUTO);
+    XRC_ADD_STYLE(wxHW_NO_SELECTION);
     AddWindowStyles();
 }