MCPcopy Create free account
hub / github.com/audacity/audacity / Create

Method Create

libraries/lib-wx-init/ProgressDialog.cpp:1157–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155}
1156
1157bool ProgressDialog::Create(const TranslatableString & title,
1158 const TranslatableString & message /* = {} */,
1159 int flags /* = pdlgDefaultFlags */,
1160 const TranslatableString & sRemainingLabelText /* = {} */)
1161{
1162 MessageTable columns(1);
1163 columns.back().push_back(message);
1164 auto result = Create(title, columns, flags, sRemainingLabelText);
1165
1166 if (result) {
1167 // Record some values used in case of change of message
1168 // TODO: make the following work in case of message tables
1169 wxClientDC dc(this);
1170 dc.GetMultiLineTextExtent(message.Translation(), &mLastW, &mLastH);
1171 }
1172
1173 return result;
1174}
1175
1176bool ProgressDialog::Create(const TranslatableString & title,
1177 const MessageTable & columns,

Callers 2

OpenOutFunction · 0.45
BeepMethod · 0.45

Calls 15

CreateFunction · 0.85
InitClass · 0.85
GetParentFunction · 0.85
TranslationMethod · 0.80
wxGaugeClass · 0.70
wxStaticTextClass · 0.70
wxButtonClass · 0.50
push_backMethod · 0.45
getMethod · 0.45
AddMethod · 0.45
releaseMethod · 0.45
SetNameMethod · 0.45

Tested by

no test coverage detected