mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX: wxTE_PROCESS_ENTER flag for wxTextCtrl
Change-Id: I23b43997f080ed173676c2582148b8db6e83b701
This commit is contained in:
		
							parent
							
								
									966242b8dd
								
							
						
					
					
						commit
						ed1870b3a5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -55,7 +55,7 @@ void TextInput::Create(wxWindow *     parent, | |||
|     style &= ~wxRIGHT; | ||||
|     state_handler.attach({&label_color, & text_color}); | ||||
|     state_handler.update_binds(); | ||||
|     text_ctrl = new wxTextCtrl(this, wxID_ANY, text, {4, 4}, wxDefaultSize, style | wxBORDER_NONE); | ||||
|     text_ctrl = new wxTextCtrl(this, wxID_ANY, text, {4, 4}, wxDefaultSize, style | wxBORDER_NONE | wxTE_PROCESS_ENTER); | ||||
|     text_ctrl->SetFont(Label::Body_14); | ||||
|     text_ctrl->SetInitialSize(text_ctrl->GetBestSize()); | ||||
|     text_ctrl->SetBackgroundColour(background_color.colorForStates(state_handler.states())); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo