From 83c4bc60c603f8df307b747319d553a294571fdb Mon Sep 17 00:00:00 2001 From: Xun Li Date: Wed, 20 Jan 2016 14:05:07 -0700 Subject: [PATCH] fix issue #256 --- DialogTools/CatClassifDlg.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/DialogTools/CatClassifDlg.cpp b/DialogTools/CatClassifDlg.cpp index 178aae1c5..6388d4db7 100644 --- a/DialogTools/CatClassifDlg.cpp +++ b/DialogTools/CatClassifDlg.cpp @@ -543,7 +543,7 @@ void CatClassifHistCanvas::UpdateStatusBar() const wxString CatClassifPanel::unif_dist_txt("uniform distribution"); const int CatClassifPanel::max_intervals = 10; -const int CatClassifPanel::default_intervals = 6; +const int CatClassifPanel::default_intervals = 4; const double CatClassifPanel::default_min = 0; const double CatClassifPanel::default_max = 1; @@ -2189,21 +2189,6 @@ CatClassifFrame::CatClassifFrame(wxFrame *parent, Project* project, { LOG_MSG("Entering CatClassifFrame::CatClassifFrame"); - /// START: original wxSpliterWindow desgin - /* - wxSplitterWindow* spliter_vert = - new wxSplitterWindow(this, -1, wxDefaultPosition, wxDefaultSize, - wxSP_3D|wxSP_LIVE_UPDATE|wxCLIP_CHILDREN); - canvas = new CatClassifHistCanvas(spliter_vert, this, project); - template_canvas = canvas; - panel = new CatClassifPanel(project, canvas, spliter_vert, wxID_ANY); - spliter_vert->SplitVertically(panel, canvas); - spliter_vert->SetMinimumPaneSize(20); - SetMinSize(wxSize(600,500)); - */ - /// END: orginal wxSpliterWindow desgin - - /// START: wxBoxSizer desgin wxPanel* histo_panel = new wxPanel(this); wxStaticText* preview_var_text = new wxStaticText(histo_panel, wxID_ANY,