]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.cpp
In GetPath(), don't append separator if there's already one at the end
[wxWidgets.git] / samples / widgets / widgets.cpp
index c6069c0bb63504cc2ecfe148340ae92f27d66795..b6595732cf0557e24fff0c9387577330ae74587c 100644 (file)
@@ -218,6 +218,7 @@ bool WidgetsApp::OnInit()
 
     //wxLog::AddTraceMask(_T("listbox"));
     //wxLog::AddTraceMask(_T("scrollbar"));
 
     //wxLog::AddTraceMask(_T("listbox"));
     //wxLog::AddTraceMask(_T("scrollbar"));
+    //wxLog::AddTraceMask(_T("focus"));
 
     return TRUE;
 }
 
     return TRUE;
 }
@@ -255,7 +256,7 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
                              );
     m_lboxLog = new wxListBox(m_panel, -1);
     sizerDown->Add(m_lboxLog, 1, wxGROW | wxALL, 5);
                              );
     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"));
 
     wxBoxSizer *sizerBtns = new wxBoxSizer(wxHORIZONTAL);
     wxButton *btn = new wxButton(m_panel, Widgets_ClearLog, _T("Clear &log"));