Fix unfetchability of TXT_FRAMESTYLE in buttons and icons.
This commit is contained in:
@@ -92,6 +92,7 @@ void cButton::setFormat(eFormat prop, short val) throw(xUnsupportedProp){
|
|||||||
|
|
||||||
short cButton::getFormat(eFormat prop) throw(xUnsupportedProp){
|
short cButton::getFormat(eFormat prop) throw(xUnsupportedProp){
|
||||||
if(prop == TXT_WRAP) return wrapLabel;
|
if(prop == TXT_WRAP) return wrapLabel;
|
||||||
|
else if(prop == TXT_FRAMESTYLE) return frameStyle;
|
||||||
else throw xUnsupportedProp(prop);
|
else throw xUnsupportedProp(prop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ void cPict::setFormat(eFormat prop, short val) throw(xUnsupportedProp){
|
|||||||
|
|
||||||
short cPict::getFormat(eFormat prop) throw(xUnsupportedProp){
|
short cPict::getFormat(eFormat prop) throw(xUnsupportedProp){
|
||||||
if(prop == TXT_FRAME) return drawFramed;
|
if(prop == TXT_FRAME) return drawFramed;
|
||||||
|
else if(prop == TXT_FRAMESTYLE) return frameStyle;
|
||||||
else throw xUnsupportedProp(prop);
|
else throw xUnsupportedProp(prop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user