summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2014-01-04 00:08:27 +0100
committerSiqi LIU <me@siqi.fr>2014-01-04 00:09:36 +0100
commitd6fdb0b4666fa92c937593a704ef40348803ff62 (patch)
treeba9f65bfe09e4cea2b5c95141adb036a187f96b6 /vcl/source
parenta7d6e1f3eb60e4b73092dfe3f21501b4d150f041 (diff)
fdo#72666 fix for brocken NumericBox constructor
Change-Id: I6c9a981f8de35314edb51cc5f0fc11adfe6c1b5b
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/field.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 26d3cffc51ce..aa8e06b994d5 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -889,6 +889,8 @@ NumericBox::NumericBox( Window* pParent, WinBits nWinStyle ) :
{
SetField( this );
Reformat();
+ if ( !(nWinStyle & WB_HIDE ) )
+ Show();
}
NumericBox::NumericBox( Window* pParent, const ResId& rResId ) :