]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filepickerg.cpp
Swap client data pointers in wxRearrangeList too.
[wxWidgets.git] / src / generic / filepickerg.cpp
index f8d7a827c3e26fdf5dc66ab159cf7f8cdb55a25a..1aaf01a42044c46c5d45211e7bbdd9bb538cb5de 100644 (file)
@@ -48,10 +48,12 @@ bool wxGenericFileDirButton::Create(wxWindow *parent,
                                     const wxString& wildcard,
                                     const wxPoint& pos,
                                     const wxSize& size,
-                                    long WXUNUSED(style),
+                                    long style,
                                     const wxValidator& validator,
                                     const wxString& name)
 {
+    m_pickerStyle = style;
+
     // create this button
     if ( !wxButton::Create(parent, id, label, pos, size, 0, validator, name) )
     {