]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/filedlg.cpp
compilation fixes - wxGTK compiles but not links
[wxWidgets.git] / src / msw / filedlg.cpp
index 73a9a8128d75779c7b4fd75f8475eeac9710a31d..29ba5231bd378215943ce1783e62dc08e7423762 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_FILEDLG
+
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/msgdlg.h"
@@ -512,4 +514,5 @@ WXDLLEXPORT wxString wxSaveFileSelector(const wxChar *what,
     return wxDefaultFileSelector(FALSE, what, extension, default_name, parent);
 }
 
+#endif // wxUSE_FILEDLG