mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Replaced StringTable->insert("") with StringTable->EmptyString()
This commit is contained in:
parent
7cf20413c3
commit
332c06ae82
33 changed files with 1178 additions and 1178 deletions
|
|
@ -49,7 +49,7 @@ ConsoleDocClass( GuiToggleButtonCtrl,
|
|||
GuiToggleButtonCtrl::GuiToggleButtonCtrl()
|
||||
{
|
||||
setExtent(140, 30);
|
||||
mButtonText = StringTable->insert("");
|
||||
mButtonText = StringTable->EmptyString();
|
||||
mStateOn = false;
|
||||
mButtonType = ButtonTypeCheck;
|
||||
}
|
||||
|
|
@ -60,7 +60,7 @@ void GuiToggleButtonCtrl::onPreRender()
|
|||
|
||||
// If we have a script variable, make sure we're in sync
|
||||
if ( mConsoleVariable[0] )
|
||||
mStateOn = Con::getBoolVariable( mConsoleVariable );
|
||||
mStateOn = Con::getBoolVariable( mConsoleVariable );
|
||||
}
|
||||
|
||||
void GuiToggleButtonCtrl::onRender(Point2I offset,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue