mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 18:27:58 -06:00
Escape from try/catch in Tab and OptionsGroup
* Deleted macro _LU8 from GUI.hpp. It's used only in Option class now. * Added macro _LS to mark string used at localization (It returns same string)
This commit is contained in:
parent
53006384d5
commit
12b9a513c1
7 changed files with 358 additions and 67 deletions
|
@ -24,8 +24,9 @@ class TabIface;
|
|||
|
||||
//! macro used to localization, return wxString
|
||||
#define _L(s) wxGetTranslation(s)
|
||||
//! macro used to localization, return const CharType *
|
||||
#define _LU8(s) wxGetTranslation(s).ToUTF8().data()
|
||||
//! macro used to mark string used at localization,
|
||||
//! return same string
|
||||
#define _LS(s) s
|
||||
|
||||
namespace GUI {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue