Update of /cvsroot/audacity/lib-src/FileDialog/win
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv18453/win

Modified Files:
        FileDialog.h FileDialog.hpp 
Log Message:
Change for wxWidgets 2.8.3 compatability


Index: FileDialog.h
===================================================================
RCS file: /cvsroot/audacity/lib-src/FileDialog/win/FileDialog.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- FileDialog.h        10 Apr 2007 02:22:21 -0000      1.2
+++ FileDialog.h        12 Apr 2007 00:15:37 -0000      1.3
@@ -52,6 +52,7 @@
 private:
     wxArrayString m_fileNames;
     bool m_bMovedWindow;
+    long m_dialogStyle;
 
     fdCallback m_callback;
     void *m_cbdata;

Index: FileDialog.hpp
===================================================================
RCS file: /cvsroot/audacity/lib-src/FileDialog/win/FileDialog.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- FileDialog.hpp      10 Apr 2007 02:22:21 -0000      1.2
+++ FileDialog.hpp      12 Apr 2007 00:15:37 -0000      1.3
@@ -1,594 +1,596 @@
-/////////////////////////////////////////////////////////////////////////////
-// Name:        src/msw/filedlg.cpp
-// Purpose:     wxFileDialog
-// Author:      Julian Smart
-// Modified by: Leland Lucius
-// Created:     01/02/97
-// RCS-ID:      $Id$
-// Copyright:   (c) Julian Smart
-// Licence:     wxWindows licence
-//
-// Modified for Audacity to support an additional button on Save dialogs
[...1157 lines suppressed...]
+        }
+#else
+        DWORD dwErr = CommDlgExtendedError();
+        if ( dwErr != 0 )
+        {
+            // this msg is only for developers
+            wxLogError(wxT("Common dialog failed with error code %0lx."),
+                       dwErr);
+        }
+        //else: it was just cancelled
+#endif
+#endif
+    }
+
+    return success ? wxID_OK : wxID_CANCEL;
+
+}
+
+#endif // wxUSE_FILEDLG && !(__SMARTPHONE__ && __WXWINCE__)
+


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to