Modified dialog size under MSW to look better ( button was cut off)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
J. Russell Smyth 1999-07-27 17:03:21 +00:00
parent a3c1786def
commit 43871a5df9

View File

@ -156,7 +156,11 @@
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{
wxHtmlWindow *html;
#if __WXMSW__
wxDialog dlg(this, -1, "About", wxDefaultPosition, wxSize(400, 250), wxDIALOG_MODAL | wxDEFAULT_DIALOG_STYLE);
#else
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 -> SetBorders(0);