X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5c4d59ef4dfe1d1330eb4f819cc6609813ec0cc..26067161812312ad41b31559d9347af0251c0148:/include/wx/generic/filepickerg.h?ds=sidebyside diff --git a/include/wx/generic/filepickerg.h b/include/wx/generic/filepickerg.h index 3d150f7758..6206ba0ebb 100644 --- a/include/wx/generic/filepickerg.h +++ b/include/wx/generic/filepickerg.h @@ -17,8 +17,8 @@ #include "wx/dirdlg.h" -extern WXDLLEXPORT_DATA(const wxEventType) wxEVT_COMMAND_DIRPICKER_CHANGED; -extern WXDLLEXPORT_DATA(const wxEventType) wxEVT_COMMAND_FILEPICKER_CHANGED; +extern WXDLLIMPEXP_DATA_CORE(const wxEventType) wxEVT_COMMAND_DIRPICKER_CHANGED; +extern WXDLLIMPEXP_DATA_CORE(const wxEventType) wxEVT_COMMAND_FILEPICKER_CHANGED; //----------------------------------------------------------------------------- @@ -48,6 +48,8 @@ public: virtual ~wxGenericFileDirButton() {} + virtual wxControl *AsControl() { return this; } + public: // overrideable virtual wxDialog *CreateDialog() = 0;