X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afcdd052c1b6d83ab70478e0894ab288f29f1b87..4a32fcf1555f9a52a6970e52ad0191a0ee69dbf9:/src/generic/calctrl.cpp diff --git a/src/generic/calctrl.cpp b/src/generic/calctrl.cpp index cd1593d7b1..a76d41f1b8 100644 --- a/src/generic/calctrl.cpp +++ b/src/generic/calctrl.cpp @@ -202,9 +202,6 @@ bool wxCalendarCtrl::Create(wxWindow *parent, 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) )