NEW:optimize text wrap and tips for sending prints

Change-Id: I6e1aa8eba4d7bf948068126cd25216e8dbc68413
This commit is contained in:
tao wang 2022-12-08 10:56:18 +08:00 committed by Lane.Wei
parent 81d38bf140
commit 65ff90690f
3 changed files with 30 additions and 29 deletions

View file

@ -58,7 +58,7 @@ public:
inline void reset_cancel_callback() { set_cancel_callback(); }
wxPanel * get_panel();
bool is_english_text(wxString str);
wxString format_text(wxStaticText* st, wxString str, int warp);
bool format_text(wxStaticText* dc, int width, const wxString& text, wxString& multiline_text);
void set_status_text(const wxString& txt);
void set_percent_text(const wxString &txt);
void msw_rescale();