1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-31 03:00:05 +00:00

Introjucer: added TRANS macro to GUI designed generated code.

This commit is contained in:
jules 2013-12-17 21:25:24 +00:00
parent dc182eef2c
commit a2ffe5e6eb
23 changed files with 84 additions and 88 deletions

View file

@ -318,7 +318,7 @@ void ButtonDocument::fillInGeneratedCode (GeneratedCode& code) const
{
JucerDocument::fillInGeneratedCode (code);
code.parentClassInitialiser = "Button (" + quotedString (code.componentName) + ")";
code.parentClassInitialiser = "Button (" + quotedString (code.componentName, shouldUseTransMacro()) + ")";
code.removeCallback ("void", "paint (Graphics& g)");
}