#include "wx/wxprec.h"
+#if wxUSE_FILEDLG
+
#include "wx/filedlg.h"
#ifndef WX_PRECOMP
}
}
- if (HasFlag(wxFD_SAVE))
+ if (HasFdFlag(wxFD_SAVE))
{
myData.saveMode = true;
if (err != noErr)
break;
- if (HasFlag(wxFD_SAVE))
+ if (HasFdFlag(wxFD_SAVE))
thePath = wxMacFSRefToPath( &theFSRef, navReply.saveFileName );
else
thePath = wxMacFSRefToPath( &theFSRef );
return (err == noErr) ? wxID_OK : wxID_CANCEL;
}
+
+#endif // wxUSE_FILEDLG
+