feature remove the not work code.

This commit is contained in:
alves
2026-03-05 16:42:32 +08:00
parent bef0f6edae
commit b27cd73e31
6 changed files with 6 additions and 17 deletions

View File

@@ -37,8 +37,7 @@ PrinterCloudAuthDialog::PrinterCloudAuthDialog(wxWindow* parent, PrintHost* host
return;
}
m_browser->Hide();
// GTK asserts on width < -1 and height <= 0; use minimal size for hidden widget
m_browser->SetSize(1, 1);
m_browser->SetSize(0, 0);
// Connect the webview events
Bind(wxEVT_WEBVIEW_NAVIGATING, &PrinterCloudAuthDialog::OnNavigationRequest, this, m_browser->GetId());