#if wxUSE_HTML
#include <wx/window.h>
+#include <wx/scrolwin.h>
#include <wx/config.h>
#include <wx/treectrl.h>
#include <wx/html/htmlwinparser.h>
// borders (free space between text and window borders)
// defaults to 10 pixels.
- bool m_Scrollable;
- // TRUE if you can scroll the window.
- // If it is FALSE you can't scroll the window even if it's contents is larger
- // than window.
+ int m_Style;
private:
wxHtmlWindow() : wxScrolledWindow() {};
wxHtmlWindow(wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
- const wxString& name = "htmlWindow", bool scrollable = TRUE);
+ long style = wxHW_SCROLLBAR_AUTO,
+ const wxString& name = "htmlWindow");
~wxHtmlWindow();
bool SetPage(const wxString& source);