Set the initial size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -338,8 +338,9 @@ bool wxHtmlWindow::Create(wxWindow *parent, wxWindowID id,
|
|||||||
// at all so disable it to avoid executing any user-defined handlers twice
|
// at all so disable it to avoid executing any user-defined handlers twice
|
||||||
// (and to avoid processing unnecessary event if no handlers are defined).
|
// (and to avoid processing unnecessary event if no handlers are defined).
|
||||||
SetBackgroundStyle(wxBG_STYLE_PAINT);
|
SetBackgroundStyle(wxBG_STYLE_PAINT);
|
||||||
|
|
||||||
SetPage(wxT("<html><body></body></html>"));
|
SetPage(wxT("<html><body></body></html>"));
|
||||||
|
|
||||||
|
SetInitialSize(size);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user