mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Use OSXDisableAllSmartSubstitutions() for TextCtrl field under OSX
This commit is contained in:
		
							parent
							
								
									6db40feace
								
							
						
					
					
						commit
						3205961655
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -248,6 +248,9 @@ void TextCtrl::BUILD() { | |||
| 
 | ||||
|     const long style = m_opt.multiline ? wxTE_MULTILINE : wxTE_PROCESS_ENTER/*0*/; | ||||
| 	auto temp = new wxTextCtrl(m_parent, wxID_ANY, text_value, wxDefaultPosition, size, style); | ||||
| #ifdef __WXOSX__ | ||||
|     temp->OSXDisableAllSmartSubstitutions(); | ||||
| #endif // __WXOSX__
 | ||||
| 
 | ||||
| 	temp->SetToolTip(get_tooltip_text(text_value)); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka