From 43871a5df9e03533a819edf722f2dce56817eacf Mon Sep 17 00:00:00 2001 From: "J. Russell Smyth" Date: Tue, 27 Jul 1999 17:03:21 +0000 Subject: [PATCH] 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 --- samples/html/about/about.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/html/about/about.cpp b/samples/html/about/about.cpp index 7bfb813b2e..3e3ffdebcb 100644 --- a/samples/html/about/about.cpp +++ b/samples/html/about/about.cpp @@ -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);