ENH: gizmo: use native string for snapshot name

to avoid possible crash issue(not sure)

Change-Id: I34f7859b5eb8d2b9b09093ac9b68d24fa1074612
This commit is contained in:
lane.wei 2022-11-19 16:43:06 +08:00 committed by Lane.Wei
parent ceae5fb0ed
commit fb4f30a4a4
5 changed files with 13 additions and 13 deletions

View file

@ -29,9 +29,9 @@ protected:
wxString handle_snapshot_action_name(bool shift_down, Button button_down) const override;
std::string get_gizmo_entering_text() const override { return _u8L("Entering Seam painting"); }
std::string get_gizmo_leaving_text() const override { return _u8L("Leaving Seam painting"); }
std::string get_action_snapshot_name() override { return _u8L("Paint-on seam editing"); }
std::string get_gizmo_entering_text() const override { return "Entering Seam painting"; }
std::string get_gizmo_leaving_text() const override { return "Leaving Seam painting"; }
std::string get_action_snapshot_name() override { return "Paint-on seam editing"; }
private:
bool on_init() override;