X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b90b51ceb7eadbef93c256a42af49dae0659d34..19e30148e18cc99296b26503c155e5cef59045f4:/samples/widgets/widgets.cpp?ds=sidebyside diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index 8f7a058834..af1bb21272 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -205,6 +205,10 @@ bool WidgetsApp::OnInit() title += _T("wxMSW"); #elif defined(__WXGTK__) title += _T("wxGTK"); +#elif defined(__WXMAC__) + title += _T("wxMAC"); +#elif defined(__WXMOTIF__) + title += _T("wxMOTIF"); #else title += _T("wxWindows"); #endif @@ -251,6 +255,8 @@ WidgetsFrame::WidgetsFrame(const wxString& title) ); m_lboxLog = new wxListBox(m_panel, -1); sizerDown->Add(m_lboxLog, 1, wxGROW | wxALL, 5); + sizerDown->SetMinSize(100, 150); + wxBoxSizer *sizerBtns = new wxBoxSizer(wxHORIZONTAL); wxButton *btn = new wxButton(m_panel, Widgets_ClearLog, _T("Clear &log")); sizerBtns->Add(btn);