From 8e494db90ce964feef1ed3bd428462819def89c7 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 10 Oct 2009 11:02:01 +0000 Subject: [PATCH] Set the initial size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 8fedf6c999..19c57ef57c 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -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("")); + + SetInitialSize(size); return true; }