mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-25 15:19:21 +01:00
Sun CC compilation fixes
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user