long style,
const wxString& name)
{
+#ifdef __WXMSW__
+ if ((style & wxBORDER_MASK) == wxDEFAULT)
+ style |= wxBORDER_THEME;
+#endif
+
style |= wxWANTS_CHARS | wxFULL_REPAINT_ON_RESIZE;
if ( !wxVScrolledWindow::Create(parent, id, pos, size, style, name) )
return false;
{
SetFocus();
- int item = HitTest(event.GetPosition());
+ int item = VirtualHitTest(event.GetPosition().y);
if ( item != wxNOT_FOUND )
{
void wxVListBox::OnLeftDClick(wxMouseEvent& eventMouse)
{
- int item = HitTest(eventMouse.GetPosition());
+ int item = VirtualHitTest(eventMouse.GetPosition().y);
if ( item != wxNOT_FOUND )
{