X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af6ad984611ccf8af3e9a470aede2bbe9931e8e5..2d97237dac7f35e78f4a1ce1877dafc7b05ffb4f:/include/wx/filepicker.h?ds=sidebyside diff --git a/include/wx/filepicker.h b/include/wx/filepicker.h index 5aebbe6f6f..360f12c75e 100644 --- a/include/wx/filepicker.h +++ b/include/wx/filepicker.h @@ -78,7 +78,8 @@ protected: // NOTE: wxFileDirPickerCtrlBase will allocate a wx{File|Dir}PickerWidget and this // requires that all classes being mapped as wx{File|Dir}PickerWidget have the // same prototype for the contructor... -#if defined(__WXGTK26__) // since GTK >= 2.6, there is GtkFileButton +// since GTK >= 2.6, there is GtkFileButton +#if defined(__WXGTK26__) && !defined(__WXUNIVERSAL__) #include "wx/gtk/filepicker.h" #define wxFilePickerWidget wxFileButton #define wxDirPickerWidget wxDirButton