]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMac linking fix.
authorMattia Barbon <mbarbon@cpan.org>
Thu, 23 Oct 2003 21:51:33 +0000 (21:51 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 23 Oct 2003 21:51:33 +0000 (21:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index 6bb75cca8e6b7488044360680d37a053d2049610..493a89b5aa6de98dd25704cf2de36f93a03813fc 100644 (file)
@@ -48,7 +48,7 @@
 
 #define wxUSE_DIRDLGG 0
 
-#if !defined(__WXMSW__) || defined(wxUSE_DIRDLGG) && wxUSE_DIRDLGG
+#if !(defined(__WXMSW__) || defined(__WXMAC__)) || wxUSE_DIRDLGG
 #include "wx/generic/dirdlgg.h"
 #endif
 
@@ -590,7 +590,7 @@ void MyFrame::DirChooseNew(wxCommandEvent& WXUNUSED(event) )
 
 void MyFrame::GenericDirChoose(wxCommandEvent& WXUNUSED(event) )
 {
-#if !defined(__WXMSW__) || defined(wxUSE_DIRDLGG) && wxUSE_DIRDLGG
+#if !(defined(__WXMSW__) || defined(__WXMAC__)) || wxUSE_DIRDLGG
     // pass some initial dir to wxDirDialog
     wxString dirHome;
     wxGetHomeDir(&dirHome);