git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43525
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
long style,
const wxString& name)
{
long style,
const wxString& name)
{
+ // set the style first to avoid assert in our SetWindowStyleFlag()
+ m_windowStyle = style;
+
if ( !wxControl::Create(parent, id, pos, size,
style | wxCLIP_CHILDREN | wxWANTS_CHARS | wxFULL_REPAINT_ON_RESIZE,
wxDefaultValidator, name) )
if ( !wxControl::Create(parent, id, pos, size,
style | wxCLIP_CHILDREN | wxWANTS_CHARS | wxFULL_REPAINT_ON_RESIZE,
wxDefaultValidator, name) )