mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 04:02:52 -06:00 
			
		
		
		
	Handle EVT_TEXT on wxSpinCtrl too
This commit is contained in:
		
							parent
							
								
									6e6fb427fb
								
							
						
					
					
						commit
						a49e786b04
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -197,6 +197,7 @@ sub _build_field { | |||
|             $field = Wx::SpinCtrl->new($self->parent, -1, $opt->{default}, wxDefaultPosition, $size, $style, $opt->{min} || 0, $opt->{max} || 2147483647, $opt->{default}); | ||||
|             $self->_setters->{$opt_key} = sub { $field->SetValue($_[0]) }; | ||||
|             EVT_SPINCTRL ($self->parent, $field, $on_change); | ||||
|             EVT_TEXT ($self->parent, $field, $on_change); | ||||
|             EVT_KILL_FOCUS($field, $on_kill_focus); | ||||
|         } elsif ($opt->{values}) { | ||||
|             $field = Wx::ComboBox->new($self->parent, -1, $opt->{default}, wxDefaultPosition, $size, $opt->{labels} || $opt->{values}); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci