]> git.saurik.com Git - wxWidgets.git/commitdiff
scrollbar doesn't appear anymore in html view
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 8 Aug 1999 15:55:21 +0000 (15:55 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 8 Aug 1999 15:55:21 +0000 (15:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/html/about/about.cpp

index ae25ab35c2bdc2d6978c96f6f43697cd14189fc6..2c60e72580e7c3b60ea297f79cf4214431a03638 100644 (file)
         wxDialog dlg(this, -1, "About", wxDefaultPosition, wxSize(400, 230), wxDIALOG_MODAL | wxDEFAULT_DIALOG_STYLE);
 #endif
 
-        html = new wxHtmlWindow(&dlg, -1, wxPoint(10, 10), wxSize(380, 160));//, "htmlWindow", FALSE);
+        html = new wxHtmlWindow(&dlg, -1, wxPoint(10, 10), wxSize(380, 160), wxHW_SCROLLBAR_NEVER);
         html -> SetBorders(0);
         html -> LoadPage("data/about.htm");
         wxButton *bu1 = new wxButton(&dlg, wxID_OK, "OK", wxPoint(250, 185), wxSize(100, 30));