diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 8593efa9feaa..49373ee4f39f 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -267,6 +267,12 @@ namespace pBtn->SetSymbol(SYMBOL_PREV); pWindow = pBtn; } + else if (sType.equalsL(RTL_CONSTASCII_STRINGPARAM("gtk-close"))) + { + PushButton *pBtn = new PushButton(pParent, nBits); + pBtn->SetText(VclResId(SV_BUTTONTEXT_CLOSE).toString()); + pWindow = pBtn; + } else fprintf(stderr, "unknown stock type %s\n", sType.getStr()); } |