X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..8c167bb199fc017a4db5dd5bdaec648f51aa0d1f:/include/wx/access.h?ds=sidebyside diff --git a/include/wx/access.h b/include/wx/access.h index 5b29ada9ba..6f098623de 100644 --- a/include/wx/access.h +++ b/include/wx/access.h @@ -16,6 +16,10 @@ // headers we have to include here // ---------------------------------------------------------------------------- +#include "wx/defs.h" + +#if wxUSE_ACCESSIBILITY + #include "wx/variant.h" typedef enum @@ -220,13 +224,13 @@ typedef enum // All functions return an indication of success, failure, or not implemented. // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxAccessible; -class WXDLLEXPORT wxWindow; -class WXDLLEXPORT wxPoint; -class WXDLLEXPORT wxRect; -class WXDLLEXPORT wxAccessibleBase : public wxObject +class WXDLLIMPEXP_FWD_CORE wxAccessible; +class WXDLLIMPEXP_FWD_CORE wxWindow; +class WXDLLIMPEXP_FWD_CORE wxPoint; +class WXDLLIMPEXP_FWD_CORE wxRect; +class WXDLLIMPEXP_CORE wxAccessibleBase : public wxObject { - DECLARE_NO_COPY_CLASS(wxAccessibleBase) + wxDECLARE_NO_COPY_CLASS(wxAccessibleBase); public: wxAccessibleBase(wxWindow* win): m_window(win) {} @@ -322,6 +326,7 @@ public: virtual wxAccStatus GetFocus(int* WXUNUSED(childId), wxAccessible** WXUNUSED(child)) { return wxACC_NOT_IMPLEMENTED; } +#if wxUSE_VARIANT // Gets a variant representing the selected children // of this object. // Acceptable values: @@ -332,6 +337,7 @@ public: // - a "void*" pointer to a wxAccessible child object virtual wxAccStatus GetSelections(wxVariant* WXUNUSED(selections)) { return wxACC_NOT_IMPLEMENTED; } +#endif // wxUSE_VARIANT // Accessors @@ -363,20 +369,9 @@ private: #if defined(__WXMSW__) #include "wx/msw/ole/access.h" -#elif defined(__WXMOTIF__) - #include "wx/generic/access.h" -#elif defined(__WXMGL__) - #include "wx/generic/access.h" -#elif defined(__WXGTK__) - #include "wx/generic/access.h" -#elif defined(__WXX11__) - #include "wx/generic/access.h" -#elif defined(__WXMAC__) - #include "wx/generic/access.h" -#elif defined(__WXPM__) - #include "wx/generic/access.h" #endif -#endif - // _WX_ACCESSBASE_H_ +#endif // wxUSE_ACCESSIBILITY + +#endif // _WX_ACCESSBASE_H_