mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-27 13:06:30 +03:00
Removed Strings.hpp, replaced with wxString
Fixed UTF8 rendering of status messages.
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include "AboutDialog.hpp"
|
||||
#include "AppConfig.hpp"
|
||||
#include "ConfigSnapshotDialog.hpp"
|
||||
#include "ProgressStatusBar.hpp"
|
||||
#include "Utils.hpp"
|
||||
#include "MsgDialog.hpp"
|
||||
#include "ConfigWizard.hpp"
|
||||
@@ -114,6 +115,7 @@ void break_to_debugger()
|
||||
// Passing the wxWidgets GUI classes instantiated by the Perl part to C++.
|
||||
wxApp *g_wxApp = nullptr;
|
||||
wxFrame *g_wxMainFrame = nullptr;
|
||||
ProgressStatusBar *g_progress_status_bar = nullptr;
|
||||
wxNotebook *g_wxTabPanel = nullptr;
|
||||
wxPanel *g_wxPlater = nullptr;
|
||||
AppConfig *g_AppConfig = nullptr;
|
||||
@@ -207,6 +209,13 @@ void set_main_frame(wxFrame *main_frame)
|
||||
|
||||
wxFrame* get_main_frame() { return g_wxMainFrame; }
|
||||
|
||||
void set_progress_status_bar(ProgressStatusBar *prsb)
|
||||
{
|
||||
g_progress_status_bar = prsb;
|
||||
}
|
||||
|
||||
ProgressStatusBar* get_progress_status_bar() { return g_progress_status_bar; }
|
||||
|
||||
void set_tab_panel(wxNotebook *tab_panel)
|
||||
{
|
||||
g_wxTabPanel = tab_panel;
|
||||
|
||||
Reference in New Issue
Block a user