Skip to content

Commit

Permalink
fix issue #256
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Jan 20, 2016
1 parent 49c53c0 commit 83c4bc6
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions DialogTools/CatClassifDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 83c4bc6

Please sign in to comment.