Sun CC compilation fixes

This commit is contained in:
Aleksandar Fabijanic
2009-03-30 14:28:46 +00:00
parent 21ca665427
commit 5ba59148d4
34 changed files with 389 additions and 16 deletions

View File

@@ -62,6 +62,13 @@ Button::Button(const std::string& name, const std::type_info& type):
init();
}
Button::Button(const char* pName, const std::type_info& type):
Control(std::string(pName), type)
{
init();
}
Button::Button(const std::type_info& type):
Control(type)
@@ -77,6 +84,13 @@ Button::Button(const std::string& name):
}
Button::Button(const char* pName):
Control(std::string(pName), typeid(Button))
{
init();
}
Button::Button(const std::string& name, const std::string& txt):
Control(name, typeid(Button))
{
@@ -85,6 +99,14 @@ Button::Button(const std::string& name, const std::string& txt):
}
Button::Button(const char* pName, const char* pTxt):
Control(std::string(pName), typeid(Button))
{
init();
setText(std::string(pTxt));
}
Button::Button():
Control(typeid(Button))
{