derive wxComboBox from wxItemContainer (via wxComboBoxBase) in wxGTK (patch 802882)
[wxWidgets.git] / src / stc / ScintillaWX.cpp
index 9c6d8600edf99172c0d73687fa248fb890286619..73fd2d1f7512b3add4ee41f7d656d5dd0b0a464f 100644 (file)
@@ -409,7 +409,7 @@ void ScintillaWX::AddToPopUp(const char *label, int cmd, bool enabled) {
     if (!label[0])
         ((wxMenu*)popup.GetID())->AppendSeparator();
     else
-        ((wxMenu*)popup.GetID())->Append(cmd, stc2wx(label));
+        ((wxMenu*)popup.GetID())->Append(cmd, wxGetTranslation(stc2wx(label)));
 
     if (!enabled)
         ((wxMenu*)popup.GetID())->Enable(cmd, enabled);