X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bef8d4810dfdcf328fe4a2949c3543b38aee8bd5..af867f957d81d1c6838c5a37992972bc9505850d:/include/wx/access.h diff --git a/include/wx/access.h b/include/wx/access.h index 978987ed9d..4e674f0e7f 100644 --- a/include/wx/access.h +++ b/include/wx/access.h @@ -12,14 +12,12 @@ #ifndef _WX_ACCESSBASE_H_ #define _WX_ACCESSBASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "accessbase.h" -#endif - // ---------------------------------------------------------------------------- // headers we have to include here // ---------------------------------------------------------------------------- +#include "wx/defs.h" + #include "wx/variant.h" typedef enum @@ -51,7 +49,7 @@ typedef enum // Role constants -typedef enum { +typedef enum { wxROLE_NONE, wxROLE_SYSTEM_ALERT, wxROLE_SYSTEM_ANIMATION, @@ -233,8 +231,8 @@ class WXDLLEXPORT wxAccessibleBase : public wxObject DECLARE_NO_COPY_CLASS(wxAccessibleBase) public: - wxAccessibleBase(wxWindow* win): m_window(win) {}; - virtual ~wxAccessibleBase() {}; + wxAccessibleBase(wxWindow* win): m_window(win) {} + virtual ~wxAccessibleBase() {} // Overridables @@ -349,7 +347,7 @@ public: // Operations - // Each wxAccessible implementation must define this + // Each platform's implementation must define this // static void NotifyEvent(int eventType, wxWindow* window, wxAccObject objectType, // int objectId); @@ -367,20 +365,7 @@ 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_ -