| 327 | // ============================================================================ |
| 328 | |
| 329 | int EffectUIHost::ShowModal() |
| 330 | { |
| 331 | if (mEffectUIHost.GetDefinition().GetType() == EffectTypeGenerate) |
| 332 | { |
| 333 | mApplyBtn->SetLabel(XXO("&Generate").Translation()); |
| 334 | } |
| 335 | |
| 336 | Layout(); |
| 337 | |
| 338 | return wxDialogWrapper::ShowModal(); |
| 339 | } |
| 340 | |
| 341 | // ============================================================================ |
| 342 | // EffectUIHost implementation |