mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	FIX: call DismissAndNotify to manual close popup
Change-Id: I395708a98dda390f81d52151c9c52ba367de5a3d
This commit is contained in:
		
							parent
							
								
									b03a93d7fc
								
							
						
					
					
						commit
						8300c386e0
					
				
					 2 changed files with 4 additions and 11 deletions
				
			
		|  | @ -215,7 +215,7 @@ void ComboBox::mouseDown(wxMouseEvent &event) | |||
|     } else if (drop.HasDismissLongTime()) { | ||||
|         drop.autoPosition(); | ||||
|         drop_down = true; | ||||
|         drop.Show(); // Popup() will hung on MacOS
 | ||||
|         drop.Popup(); | ||||
|         wxCommandEvent e(wxEVT_COMBOBOX_DROPDOWN); | ||||
|         GetEventHandler()->ProcessEvent(e); | ||||
|     } | ||||
|  | @ -242,7 +242,7 @@ void ComboBox::keyDown(wxKeyEvent& event) { | |||
|             } else if (drop.HasDismissLongTime()) { | ||||
|                 drop.autoPosition(); | ||||
|                 drop_down = true; | ||||
|                 drop.Show(); // Popup() will hung on MacOS
 | ||||
|                 drop.Popup(); | ||||
|                 wxCommandEvent e(wxEVT_COMBOBOX_DROPDOWN); | ||||
|                 GetEventHandler()->ProcessEvent(e); | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo