]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/about/about.cpp
GUI display problems fixed
[wxWidgets.git] / 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));