From: Julian Smart Date: Sat, 10 Oct 2009 11:02:01 +0000 (+0000) Subject: Set the initial size X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e494db90ce964feef1ed3bd428462819def89c7?ds=inline Set the initial size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }