Remove unnecessary Fit()
This commit is contained in:
parent
0832e020c4
commit
c012ab042e
|
@ -638,7 +638,6 @@ void AccountPanel::OnTreeChange(wxTreeEvent& event)
|
||||||
}
|
}
|
||||||
|
|
||||||
inModification = false;
|
inModification = false;
|
||||||
Fit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountPanel::GetTreeSelection(int* month, int* year)
|
void AccountPanel::GetTreeSelection(int* month, int* year)
|
||||||
|
@ -698,8 +697,6 @@ void AccountPanel::OnMenuGenerate(wxCommandEvent& event)
|
||||||
|
|
||||||
GenerateDialog g(_kiss, _wxUI, month, year);
|
GenerateDialog g(_kiss, _wxUI, month, year);
|
||||||
g.ShowModal();
|
g.ShowModal();
|
||||||
|
|
||||||
Fit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountPanel::OnMenuDelete(wxCommandEvent& event)
|
void AccountPanel::OnMenuDelete(wxCommandEvent& event)
|
||||||
|
@ -754,8 +751,6 @@ void AccountPanel::OnMenuDelete(wxCommandEvent& event)
|
||||||
month = ops[year][0];
|
month = ops[year][0];
|
||||||
ShowMonth(month, year);
|
ShowMonth(month, year);
|
||||||
}
|
}
|
||||||
|
|
||||||
Fit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountPanel::GenerateMonth(int month, int year)
|
void AccountPanel::GenerateMonth(int month, int year)
|
||||||
|
@ -828,8 +823,6 @@ void AccountPanel::GenerateMonth(int month, int year)
|
||||||
|
|
||||||
_tree.SelectItem(node, true);
|
_tree.SelectItem(node, true);
|
||||||
ShowMonth(month, year);
|
ShowMonth(month, year);
|
||||||
|
|
||||||
Fit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountPanel::OnShow(wxShowEvent& event)
|
void AccountPanel::OnShow(wxShowEvent& event)
|
||||||
|
@ -838,7 +831,6 @@ void AccountPanel::OnShow(wxShowEvent& event)
|
||||||
_wxUI->SetTitle(_kiss->GetUser()->_name + wxT(" - ") + months[_curMonth] + wxT(" ") + wxString::Format(wxT("%d"), _curYear));
|
_wxUI->SetTitle(_kiss->GetUser()->_name + wxT(" - ") + months[_curMonth] + wxT(" ") + wxString::Format(wxT("%d"), _curYear));
|
||||||
else
|
else
|
||||||
_wxUI->SetTitle(_kiss->GetUser()->_name);
|
_wxUI->SetTitle(_kiss->GetUser()->_name);
|
||||||
Fit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountPanel::OnCalendarChange(wxCalendarEvent& event)
|
void AccountPanel::OnCalendarChange(wxCalendarEvent& event)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user