]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/vlbox.cpp
Added logic, API and docs for wxDataViewModel::HasDefaultCompare indicating a compare...
[wxWidgets.git] / src / generic / vlbox.cpp
index d9d03f063f23418679d86c1dc78600b3eda8d09a..9c9b8d06c87bed6f9429bc1cab8140cc4490c2ed 100644 (file)
@@ -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;