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

@ -34,9 +34,9 @@ protected:
void show_tooltip_information(float caption_max, float x, float y);
wxString handle_snapshot_action_name(bool shift_down, Button button_down) const override;
std::string get_gizmo_entering_text() const override { return _u8L("Entering Paint-on supports"); }
std::string get_gizmo_leaving_text() const override { return _u8L("Leaving Paint-on supports"); }
std::string get_action_snapshot_name() override { return _u8L("Paint-on supports editing"); }
std::string get_gizmo_entering_text() const override { return "Entering Paint-on supports"; }
std::string get_gizmo_leaving_text() const override { return "Leaving Paint-on supports"; }
std::string get_action_snapshot_name() override { return "Paint-on supports editing"; }
// BBS
wchar_t m_current_tool = 0;