Fix dialog icon title

This commit is contained in:
Noisyfox 2025-10-31 08:53:54 +08:00
parent 95a6a8c0c5
commit 8c4dd9db37

View file

@ -25,7 +25,7 @@ SafetyOptionsDialog::SafetyOptionsDialog(wxWindow* parent)
: DPIDialog(parent, wxID_ANY, _L("Safety Options"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX)
{
this->SetDoubleBuffered(true);
std::string icon_path = (boost::format("%1%/images/BambuStudioTitle.ico") % resources_dir()).str();
std::string icon_path = (boost::format("%1%/images/OrcaSlicerTitle.ico") % resources_dir()).str();
SetIcon(wxIcon(encode_path(icon_path.c_str()), wxBITMAP_TYPE_ICO));
SetBackgroundColour(*wxWHITE);
SetSize(FromDIP(480),FromDIP(320));