Update of /cvsroot/audacity/lib-src/FileDialog/generic
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19368/lib-src/FileDialog/generic

Modified Files:
        FileDialogPrivate.cpp 
Log Message:
Fix build problems when GTK2.0 developer package is not installed

Index: FileDialogPrivate.cpp
===================================================================
RCS file: /cvsroot/audacity/lib-src/FileDialog/generic/FileDialogPrivate.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- FileDialogPrivate.cpp       2 Jul 2009 22:11:18 -0000       1.3
+++ FileDialogPrivate.cpp       29 Sep 2009 00:28:07 -0000      1.4
@@ -1451,8 +1451,8 @@
       }
    }
    
-   wxCommandEvent event;
-   wxDialog::OnOK(event);
+   if (Validate() && TransferDataFromWindow())
+      EndModal(wxID_OK);
 }
 
 void FileDialog::OnListOk( wxCommandEvent &WXUNUSED(event) )


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to