mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed the new Slic3r::GUI::format_wxstr(): The arguments were not passed.
This commit is contained in:
		
							parent
							
								
									4945a0dc0e
								
							
						
					
					
						commit
						f4cc0ce075
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -25,11 +25,11 @@ inline wxString format_wxstr(const std::string& fmt, TArgs&&... args) { | |||
| } | ||||
| template<typename... TArgs> | ||||
| inline wxString format_wxstr(const wxString& fmt, TArgs&&... args) { | ||||
| 	return format_wxstr(fmt.ToUTF8().data()); | ||||
| 	return format_wxstr(fmt.ToUTF8().data(), std::forward<TArgs>(args)...); | ||||
| } | ||||
| template<typename... TArgs> | ||||
| inline std::string format(const wxString& fmt, TArgs&&... args) { | ||||
| 	return format(fmt.ToUTF8().data()); | ||||
| 	return format(fmt.ToUTF8().data(), std::forward<TArgs>(args)...); | ||||
| } | ||||
| 
 | ||||
| } // namespace GUI
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv