mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 14:23:13 +08:00
ENH:open search function to Windows platform
jira:[STUDIO-11620] Change-Id: Icc53f6d700049b9db35d645b0568e6a16d38fd1f
This commit is contained in:
parent
32e3e80636
commit
480b1d71b4
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user