]> git.saurik.com Git - wxWidgets.git/commitdiff
removed the workaround for our SetWindowStyleFlag() being called from base class...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Dec 2006 21:30:23 +0000 (21:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Dec 2006 21:30:23 +0000 (21:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/calctrl.cpp

index cd1593d7b1c9b9c3f0d825664a786ae7940fa878..a76d41f1b8f080f77285111437aacc29b7b472b4 100644 (file)
@@ -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) )