]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/subwin.h
define HAVE_LARGEFILE_SUPPORT in setup.h when large files support is available and...
[wxWidgets.git] / include / wx / msw / subwin.h
index 79d48668eb306f321cb1103cf8c7abaccc9212cc..2c877186eb5099304d918a97789393951a666de9 100644 (file)
@@ -61,7 +61,7 @@ public:
 
     HWND operator[](size_t n) const
     {
 
     HWND operator[](size_t n) const
     {
-        return wx_const_cast(wxSubwindows *, this)->Get(n);
+        return const_cast<wxSubwindows *>(this)->Get(n);
     }
 
     // initialize the given window: id will be stored in wxWindowIDRef ensuring
     }
 
     // initialize the given window: id will be stored in wxWindowIDRef ensuring
@@ -165,7 +165,7 @@ private:
     wxWindowIDRef *m_ids;
 
 
     wxWindowIDRef *m_ids;
 
 
-    DECLARE_NO_COPY_CLASS(wxSubwindows)
+    wxDECLARE_NO_COPY_CLASS(wxSubwindows);
 };
 
 // convenient macro to forward a few methods which are usually propagated to
 };
 
 // convenient macro to forward a few methods which are usually propagated to