From 480b1d71b497e5fa0a9fa4fceef112982d6802e2 Mon Sep 17 00:00:00 2001 From: tao wang Date: Tue, 6 May 2025 15:12:50 +0800 Subject: [PATCH] ENH:open search function to Windows platform jira:[STUDIO-11620] Change-Id: Icc53f6d700049b9db35d645b0568e6a16d38fd1f --- src/slic3r/GUI/SelectMachinePop.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/SelectMachinePop.cpp b/src/slic3r/GUI/SelectMachinePop.cpp index 34049f0af..035539e94 100644 --- a/src/slic3r/GUI/SelectMachinePop.cpp +++ b/src/slic3r/GUI/SelectMachinePop.cpp @@ -329,7 +329,7 @@ SelectMachinePopup::SelectMachinePopup(wxWindow *parent) m_scrolledWindow->Layout(); m_sizxer_scrolledWindow->Fit(m_scrolledWindow); -#if !BBL_RELEASE_TO_PUBLIC && defined(__WINDOWS__) +#if defined(__WINDOWS__) m_sizer_search_bar = new wxBoxSizer(wxVERTICAL); m_search_bar = new wxSearchCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_search_bar->SetDescriptiveText(_L("Search")); @@ -527,7 +527,7 @@ void SelectMachinePopup::update_other_devices() m_other_list_machine_panel.push_back(mpanel); m_sizer_other_devices->Add(op, 0, wxEXPAND, 0); } -#if !BBL_RELEASE_TO_PUBLIC && defined(__WINDOWS__) +#if defined(__WINDOWS__) if (!search_for_printer(mobj)) { op->Hide(); } @@ -653,7 +653,7 @@ void SelectMachinePopup::update_user_devices() MachineObjectPanel* op = nullptr; if (i < m_user_list_machine_panel.size()) { op = m_user_list_machine_panel[i]->mPanel; -#if !BBL_RELEASE_TO_PUBLIC && defined(__WINDOWS__) +#if defined(__WINDOWS__) if (!search_for_printer(mobj)) { op->Hide(); } else {