]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.cpp
always let the multiline text control process the Enter key presses
[wxWidgets.git] / samples / widgets / widgets.cpp
index 4955226402c22bf8c36b0094ba2f2bdc94c16e24..af1bb212723d5ebab60747f5258901748b0a45e9 100644 (file)
@@ -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,7 +255,7 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
                              );
     m_lboxLog = new wxListBox(m_panel, -1);
     sizerDown->Add(m_lboxLog, 1, wxGROW | wxALL, 5);
-    sizerDown->SetMinSize(100, 200);
+    sizerDown->SetMinSize(100, 150);
 
     wxBoxSizer *sizerBtns = new wxBoxSizer(wxHORIZONTAL);
     wxButton *btn = new wxButton(m_panel, Widgets_ClearLog, _T("Clear &log"));