mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
GCode Preview - void wxCheckListBoxComboPopup::OnListBoxSelection(wxCommandEvent& evt) fixed for OsX and Linux
This commit is contained in:
parent
787a5f1715
commit
a5c4751718
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ void wxCheckListBoxComboPopup::OnListBoxSelection(wxCommandEvent& evt)
|
||||||
int selId = GetSelection();
|
int selId = GetSelection();
|
||||||
if (selId != wxNOT_FOUND)
|
if (selId != wxNOT_FOUND)
|
||||||
{
|
{
|
||||||
Toggle((unsigned int)selId);
|
Check((unsigned int)selId, !IsChecked((unsigned int)selId));
|
||||||
SetSelection(wxNOT_FOUND);
|
SetSelection(wxNOT_FOUND);
|
||||||
|
|
||||||
wxCommandEvent event(wxEVT_CHECKLISTBOX, GetId());
|
wxCommandEvent event(wxEVT_CHECKLISTBOX, GetId());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue