Small improvement in HTML help options dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1230,9 +1230,19 @@ public:
|
||||
|
||||
topsizer->Add(new wxStaticText(this, wxID_ANY, _("Preview:")),
|
||||
0, wxLEFT | wxTOP, 10);
|
||||
|
||||
int style = wxHW_SCROLLBAR_AUTO;
|
||||
|
||||
#ifdef __WXMSW__
|
||||
style |= GetThemedBorderStyle();
|
||||
#else
|
||||
style |= wxBORDER_SUNKEN;
|
||||
#endif
|
||||
topsizer->AddSpacer(5);
|
||||
|
||||
topsizer->Add(TestWin = new wxHtmlWindow(this, wxID_ANY, wxDefaultPosition, wxSize(20, 150),
|
||||
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER),
|
||||
1, wxEXPAND | wxLEFT|wxTOP|wxRIGHT, 10);
|
||||
style),
|
||||
1, wxEXPAND | wxLEFT|wxRIGHT, 10);
|
||||
|
||||
wxBoxSizer *sizer2 = new wxBoxSizer(wxHORIZONTAL);
|
||||
wxButton *ok;
|
||||
|
Reference in New Issue
Block a user