mirror of https://github.com/buggins/dlangui.git
const added
This commit is contained in:
parent
fcb5565f4c
commit
ead1cff962
|
@ -95,7 +95,7 @@ class TextWidget : Widget {
|
|||
|
||||
protected UIString _text;
|
||||
/// get widget text
|
||||
override @property dstring text() { return _text; }
|
||||
override @property dstring text() const { return _text; }
|
||||
/// set text to show
|
||||
override @property Widget text(dstring s) {
|
||||
_text = s;
|
||||
|
|
|
@ -1739,7 +1739,7 @@ class WidgetGroup : Widget {
|
|||
protected WidgetList _children;
|
||||
|
||||
/// returns number of children of this widget
|
||||
@property override int childCount() { return _children.count; }
|
||||
@property override int childCount() const { return _children.count; }
|
||||
/// returns child by index
|
||||
override Widget child(int index) { return _children.get(index); }
|
||||
/// adds child, returns added item
|
||||
|
|
Loading…
Reference in New Issue