store our styles in wxSpinCtrlGenericBase ctor (needed to make the changes of r59410 actually work, see #10557)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-07 14:37:53 +00:00
parent 42af6685ae
commit 18e45a88f6

View File

@@ -186,7 +186,8 @@ bool wxSpinCtrlGenericBase::Create(wxWindow *parent,
// the text control borders (but we might want to use style border bits to
// select the text control style)
if ( !wxControl::Create(parent, id, wxDefaultPosition, wxDefaultSize,
wxBORDER_NONE, wxDefaultValidator, name) )
(style & ~wxBORDER_MASK) | wxBORDER_NONE,
wxDefaultValidator, name) )
{
return false;
}