]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/access.h
Use better title by default in wxDocPrintout.
[wxWidgets.git] / include / wx / msw / ole / access.h
index 03ee91a3c672e715227e65155ca1ce3d25d6c2b1..1684ef72b296bf241e011243b7543a38815199ec 100644 (file)
 #ifndef   _WX_ACCESS_H_
 #define   _WX_ACCESS_H_
 
 #ifndef   _WX_ACCESS_H_
 #define   _WX_ACCESS_H_
 
-#ifdef __GNUG__
-    #pragma interface
-#endif
-
-#if !wxUSE_ACCESSIBILITY
-  #error  "You should #define wxUSE_ACCESSIBILITY to 1 to compile this file!"
-#endif  //wxUSE_ACCESSIBILITY
+#if wxUSE_ACCESSIBILITY
 
 // ----------------------------------------------------------------------------
 // forward declarations
 // ----------------------------------------------------------------------------
 
 class wxIAccessible;
 
 // ----------------------------------------------------------------------------
 // forward declarations
 // ----------------------------------------------------------------------------
 
 class wxIAccessible;
-class WXDLLEXPORT wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
 // ----------------------------------------------------------------------------
 // macros
 
 // ----------------------------------------------------------------------------
 // macros
@@ -35,7 +29,7 @@ class WXDLLEXPORT wxWindow;
 // wxAccessible implements accessibility behaviour.
 // ----------------------------------------------------------------------------
 
 // wxAccessible implements accessibility behaviour.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAccessible : public wxAccessibleBase
+class WXDLLIMPEXP_CORE wxAccessible : public wxAccessibleBase
 {
 public:
     wxAccessible(wxWindow *win = NULL);
 {
 public:
     wxAccessible(wxWindow *win = NULL);
@@ -65,8 +59,10 @@ private:
     void*           m_pIAccessibleStd;  // the pointer to the standard COM interface,
                                         // for default processing
 
     void*           m_pIAccessibleStd;  // the pointer to the standard COM interface,
                                         // for default processing
 
-    DECLARE_NO_COPY_CLASS(wxAccessible)
+    wxDECLARE_NO_COPY_CLASS(wxAccessible);
 };
 
 };
 
+#endif  //wxUSE_ACCESSIBILITY
+
 #endif  //_WX_ACCESS_H_
 
 #endif  //_WX_ACCESS_H_