X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e02c72fa45b840601743e11bc6550481a36fa437..9cce71a0f949c227c2c2ad53d700eca16af92cbe:/src/generic/vlbox.cpp diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index d9d03f063f..9c9b8d06c8 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -77,6 +77,11 @@ bool wxVListBox::Create(wxWindow *parent, 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;