Revision: 7386
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7386&view=rev
Author:   vadz
Date:     2007-11-15 06:35:19 -0800 (Thu, 15 Nov 2007)

Log Message:
-----------
compilation fix for latest wx trunk (wxFileSelectorDefaultWildcardStr is char* 
now)

Modified Paths:
--------------
    trunk/M/src/wx/generic/persctrl.cpp

Modified: trunk/M/src/wx/generic/persctrl.cpp
===================================================================
--- trunk/M/src/wx/generic/persctrl.cpp 2007-11-04 23:56:36 UTC (rev 7385)
+++ trunk/M/src/wx/generic/persctrl.cpp 2007-11-15 14:35:19 UTC (rev 7386)
@@ -1988,13 +1988,17 @@
             defaultPath = config->Read(configValuePath, defpath);
     }
 
+    wxString filterStr;
+    if ( filter )
+        filterStr = filter;
+    else
+        filterStr = wxFileSelectorDefaultWildcardStr;
+
     wxFileDialog *dialog = new wxFileDialog(parent,
                                             title,
                                             defaultPath,
                                             defaultName,
-                                            filter
-                                            ? filter
-                                            : wxFileSelectorDefaultWildcardStr,
+                                            filterStr,
                                             flags);
     if ( dialog->ShowModal() != wxID_OK ) {
         // cancelled


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to