mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 10:11:10 -06:00
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
This commit is contained in:
commit
15545bbd90
12 changed files with 313 additions and 23 deletions
|
|
@ -362,7 +362,7 @@ bool ImGuiWrapper::checkbox(const wxString &label, bool &value)
|
|||
|
||||
void ImGuiWrapper::text(const char *label)
|
||||
{
|
||||
ImGui::Text(label, NULL);
|
||||
ImGui::Text("%s", label);
|
||||
}
|
||||
|
||||
void ImGuiWrapper::text(const std::string &label)
|
||||
|
|
@ -378,7 +378,7 @@ void ImGuiWrapper::text(const wxString &label)
|
|||
|
||||
void ImGuiWrapper::text_colored(const ImVec4& color, const char* label)
|
||||
{
|
||||
ImGui::TextColored(color, label);
|
||||
ImGui::TextColored(color, "%s", label);
|
||||
}
|
||||
|
||||
void ImGuiWrapper::text_colored(const ImVec4& color, const std::string& label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue