]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/subwin.h
disable new events for MSVC 7, it fails to compile it (#10000)
[wxWidgets.git] / include / wx / msw / subwin.h
index 79d48668eb306f321cb1103cf8c7abaccc9212cc..27f5f714cc170a1b7b6eebbcbf11d4b819232c93 100644 (file)
@@ -61,7 +61,7 @@ public:
 
     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