]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
added missing return on error
[wxWidgets.git] / src / generic / filedlgg.cpp
index 41e6ad08d02908cebf6ce468e256952cfdf66ca7..2d418f1064f4f1bb808d976333f3237496835582 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_FILEDLG
+
 #ifndef __UNIX__
 #error wxFileDialog currently only supports unix
 #endif
@@ -1320,3 +1322,5 @@ public:
 };
 
 IMPLEMENT_DYNAMIC_CLASS(wxFileDialogGenericModule, wxModule)
+
+#endif // wxUSE_FILEDLG