| 1112 | } |
| 1113 | |
| 1114 | static void GetFraction( const FormatterContext& context, wxString &label, NumericConverterType type, |
| 1115 | const NumericFormatID &formatSymbol ) |
| 1116 | { |
| 1117 | auto result = NumericConverterRegistry::Find(context, type, formatSymbol); |
| 1118 | |
| 1119 | if (result == nullptr) |
| 1120 | return; |
| 1121 | |
| 1122 | auto& tr = result->fractionLabel; |
| 1123 | |
| 1124 | if (!tr.empty()) |
| 1125 | label = tr.Translation(); |
| 1126 | } |
| 1127 | |
| 1128 | // Gets the name of the specified object. |
| 1129 | wxAccStatus NumericTextCtrlAx::GetName(int childId, wxString *name) |
no test coverage detected