]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_html.cpp
extending calculation of visible region
[wxWidgets.git] / src / xrc / xh_html.cpp
index 183e0ae5ef5fd01d3d29ac251622e2b4302e9229..8fe80d2082160ddb0bb17d10f9236e8466f8aa5e 100644 (file)
 #include "wx/html/htmlwin.h"
 #include "wx/filesys.h"
 
 #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);
 
 wxHtmlWindowXmlHandler::wxHtmlWindowXmlHandler() 
 : wxXmlResourceHandler() 
 {
     XRC_ADD_STYLE(wxHW_SCROLLBAR_NEVER);
     XRC_ADD_STYLE(wxHW_SCROLLBAR_AUTO);
+    XRC_ADD_STYLE(wxHW_NO_SELECTION);
     AddWindowStyles();
 }
 
     AddWindowStyles();
 }