mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: [STUDIO-1618] ProgressDialog: update dark before show
Change-Id: I951940d1cfa864f8abdae53ed1b151ea6bf1ea4a
This commit is contained in:
parent
aab62b77bf
commit
967909937d
1 changed files with 2 additions and 1 deletions
|
@ -77,7 +77,6 @@ ProgressDialog::ProgressDialog(const wxString &title, const wxString &message, i
|
|||
Create(title, message, maximum, parent, style);
|
||||
Bind(wxEVT_PAINT, &ProgressDialog::OnPaint, this);
|
||||
Bind(wxEVT_CLOSE_WINDOW, &ProgressDialog::OnClose, this);
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
}
|
||||
|
||||
void ProgressDialog::OnPaint(wxPaintEvent &evt) {}
|
||||
|
@ -261,6 +260,8 @@ bool ProgressDialog::Create(const wxString &title, const wxString &message, int
|
|||
m_sizer_main->Add(m_sizer_bottom, 0, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(28));
|
||||
m_sizer_main->Add(0, 0, 0, wxEXPAND | wxTOP, FromDIP(10));
|
||||
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
|
||||
SetSizer(m_sizer_main);
|
||||
Layout();
|
||||
Fit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue