mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	ENH: [STUDIO-1272] handle default filament color in presetcomboxbox
Change-Id: Id78749db063fd222915b1aa5ad6abf47fb4294ca
This commit is contained in:
		
							parent
							
								
									8340e1ceec
								
							
						
					
					
						commit
						5761f8c050
					
				
					 5 changed files with 68 additions and 41 deletions
				
			
		|  | @ -179,6 +179,13 @@ void ComboBox::SetString(unsigned int n, wxString const &value) | |||
| 
 | ||||
| wxBitmap ComboBox::GetItemBitmap(unsigned int n) { return icons[n]; } | ||||
| 
 | ||||
| void ComboBox::SetItemBitmap(unsigned int n, wxBitmap const &bitmap) | ||||
| { | ||||
|     if (n >= texts.size()) return; | ||||
|     icons[n] = bitmap; | ||||
|     drop.Invalidate(); | ||||
| } | ||||
| 
 | ||||
| int ComboBox::DoInsertItems(const wxArrayStringsAdapter &items, | ||||
|                             unsigned int                 pos, | ||||
|                             void **                      clientData, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo