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