21#include <wx/collpane.h>
24#include <wx/statbmp.h>
25#include <wx/stattext.h>
26#include <wx/html/htmlwin.h>
27#include <wx/settings.h>
28#include <wx/statusbr.h>
29#include <wx/textctrl.h>
30#include <wx/artprov.h>
50 const
std::wstring & log,
51 const
bool Close, const
bool modal)
53 wxDefaultPosition, wxDefaultSize,
54 wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
69 S.StartHorizontalLay(wxEXPAND, 0);
72 wxBitmap bitmap = wxArtProvider::GetBitmap(wxART_WARNING);
73 S.AddWindow(
safenew wxStaticBitmap(
S.GetParent(), -1, bitmap));
76 S.AddFixedText(message,
false, 500);
83 S.StartHorizontalLay(wxEXPAND, 1);
87 auto pane =
safenew wxCollapsiblePane(
S.GetParent(),
89 XO(
"Show &Log...").Translation());
90 S.Style(wxEXPAND | wxALIGN_LEFT);
96 text->SetInsertionPointEnd();
97 text->ShowPosition(text->GetLastPosition());
98 text->SetMinSize(wxSize(700, 250));
100 S.EndHorizontalLay();
104 S.AddStandardButtons(buttonMask);
107 GetSizer()->Fit(
this);
108 SetMinSize(GetSize());
114 if (!event.GetCollapsed())
131 if(
str.StartsWith(
wxT(
"innerlink:")) )
Declare functions to perform UTF-8 to std::wstring conversions.
EVT_BUTTON(wxID_NO, DependencyDialog::OnNo) EVT_BUTTON(wxID_YES
TranslatableString TitleText(const wxString &Key)
wxString HelpText(const wxString &Key)
Gives an Error message with an option for help.
void OnHelp(wxCommandEvent &event)
void OnPane(wxCollapsiblePaneEvent &event)
void OnOk(wxCommandEvent &event)
static void ShowHelp(wxWindow *parent, const FilePath &localFileName, const URLString &remoteURL, bool bModal=false, bool alwaysDefaultBrowser=false)
static void ShowHtmlText(wxWindow *pParent, const TranslatableString &Title, const wxString &HtmlText, bool bIsFile=false, bool bModal=false)
const wxString & GET() const
Explicit conversion to wxString, meant to be ugly-looking and demanding of a comment why it's correct...
wxTextCtrl * AddTextWindow(const wxString &Value)
Multiline text box that grows.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.