mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
Removed Strings.hpp, replaced with wxString
Fixed UTF8 rendering of status messages.
This commit is contained in:
parent
0235f1a821
commit
bb70ad6090
14 changed files with 51 additions and 116 deletions
|
@ -35,6 +35,9 @@ bool is_windows10()
|
|||
void set_wxapp(SV *ui)
|
||||
%code%{ Slic3r::GUI::set_wxapp((wxApp*)wxPli_sv_2_object(aTHX_ ui, "Wx::App")); %};
|
||||
|
||||
void set_progress_status_bar(ProgressStatusBar *prs)
|
||||
%code%{ Slic3r::GUI::set_progress_status_bar(prs); %};
|
||||
|
||||
void set_main_frame(SV *ui)
|
||||
%code%{ Slic3r::GUI::set_main_frame((wxFrame*)wxPli_sv_2_object(aTHX_ ui, "Wx::Frame")); %};
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
void Embed()
|
||||
%code%{ THIS->embed(); %};
|
||||
|
||||
void SetStatusText(std::string txt)
|
||||
void SetStatusText(const char *txt)
|
||||
%code%{ THIS->set_status_text(txt); %};
|
||||
|
||||
void ShowCancelButton()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue