mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX: StaticBox zero size bitmap
Change-Id: I33d942f771171fe1f2a61b5f3d1a66a6c7e0da05
This commit is contained in:
		
							parent
							
								
									99b97ffeb4
								
							
						
					
					
						commit
						1d04c35d0d
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -141,6 +141,8 @@ void StaticBox::render(wxDC& dc) | |||
|     } | ||||
| 
 | ||||
| 	wxSize size = GetSize(); | ||||
|     if (size.x <= 0 || size.y <= 0) | ||||
|         return; | ||||
|     wxMemoryDC memdc; | ||||
|     wxBitmap bmp(size.x, size.y); | ||||
|     memdc.SelectObject(bmp); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo