]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
Fixed bug: wxPropertyGrid::Thaw() should no longer move the scroll bar when reselecti...
[wxWidgets.git] / src / html / htmlwin.cpp
index 8fedf6c9992b44812f81037e31d592039e661525..19c57ef57c972fd0fd72444a9406cd7a4372a68d 100644 (file)
@@ -338,8 +338,9 @@ bool wxHtmlWindow::Create(wxWindow *parent, wxWindowID id,
     // at all so disable it to avoid executing any user-defined handlers twice
     // (and to avoid processing unnecessary event if no handlers are defined).
     SetBackgroundStyle(wxBG_STYLE_PAINT);
-
     SetPage(wxT("<html><body></body></html>"));
+
+    SetInitialSize(size);
     return true;
 }