]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
removed wxMsgArray definition (now in evtloop.cpp) and OnIdle() sempaphore (shouldn...
[wxWidgets.git] / src / msw / listctrl.cpp
index 8338025dba4e8413ffe750d2dc18fbd96fa3d291..98df698331816eace218947c0a13df08021b4768 100644 (file)
@@ -318,7 +318,7 @@ bool wxListCtrl::Create(wxWindow *parent,
                         const wxPoint& pos,
                         const wxSize& size,
                         long style,
-                        const wxValidator& validator,
+                        const wxValidator& wxVALIDATOR_PARAM(validator),
                         const wxString& name)
 {
 #if wxUSE_VALIDATORS
@@ -1044,13 +1044,6 @@ wxRect wxListCtrl::GetViewRect() const
 
         wxZeroMemory(rc);
     }
-    else
-    {
-        // VZ: I have no idea why is this needed but without it the listbook
-        //     control shows a tiny vertical scrollbar, make sure that it works
-        //     correctly if you decide to change this
-        rc.bottom += 5;
-    }
 
     wxRect rect;
     wxCopyRECTToRect(rc, rect);