mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix rendering on Windows
This commit is contained in:
		
							parent
							
								
									9febb10bd7
								
							
						
					
					
						commit
						3c43fb8081
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -542,7 +542,8 @@ sub new {
 | 
			
		|||
        my $white_brush = Wx::Brush->new(wxWHITE, wxSOLID);
 | 
			
		||||
        my $pen = Wx::Pen->new(Wx::Colour->new(200,200,200), 1, wxSOLID);
 | 
			
		||||
        EVT_ERASE_BACKGROUND($self, sub {
 | 
			
		||||
            my $dc = Wx::PaintDC->new($self);
 | 
			
		||||
            my ($self, $event) = @_;
 | 
			
		||||
            my $dc = $event->GetDC;
 | 
			
		||||
            my $size = $self->GetSize;
 | 
			
		||||
            $dc->SetBrush($white_brush);
 | 
			
		||||
            $dc->SetPen($pen);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue