]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filectrl.cpp
call OnExec() taking wxString argument from OnExecute() by default
[wxWidgets.git] / src / gtk / filectrl.cpp
index d2b6e8c501c02c8660ec7a07c5e9c354fc7cad89..8bc3a2d0c983a3044ab188507b754be7bbea9806 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/filectrl.h"
 
-#if !defined(__WXUNIVERSAL__)
+#if wxUSE_FILECTRL && !defined(__WXUNIVERSAL__)
 
 #ifndef WX_PRECOMP
 #    include "wx/sizer.h"
@@ -423,4 +423,4 @@ void wxGtkFileCtrl::ShowHidden(bool show)
 
 #endif // wxUSE_FILECTRL
 
-#endif // !defined(__WXUNIVERSAL__)
+#endif // wxUSE_FILECTRL && !defined(__WXUNIVERSAL__)