X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5c4d59ef4dfe1d1330eb4f819cc6609813ec0cc..2780d31b74cd415150d080ca9fe9c29428073587:/include/wx/generic/filepickerg.h 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;