mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Revert "Fix Compile Warnings (#5963)"
This reverts commit b83e16dbdd.
Found regressions like auto orientation didn't work anymore after this change, revert it
This commit is contained in:
@@ -435,6 +435,8 @@ void SearchItem::OnPaint(wxPaintEvent &event)
|
||||
|
||||
auto bold_pair = std::vector<std::pair<int, int>>();
|
||||
|
||||
auto index = 0;
|
||||
|
||||
auto b_first_list = std::vector<int>();
|
||||
auto b_second_list = std::vector<int>();
|
||||
|
||||
@@ -813,9 +815,9 @@ void SearchDialog::OnCheck(wxCommandEvent &event)
|
||||
|
||||
void SearchDialog::OnMotion(wxMouseEvent &event)
|
||||
{
|
||||
// wxDataViewItem item;
|
||||
// wxDataViewColumn *col;
|
||||
// wxWindow * win = this;
|
||||
wxDataViewItem item;
|
||||
wxDataViewColumn *col;
|
||||
wxWindow * win = this;
|
||||
|
||||
// search_list->HitTest(wxGetMousePosition() - win->GetScreenPosition(), item, col);
|
||||
// search_list->Select(item);
|
||||
|
||||
Reference in New Issue
Block a user