]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docmdi.h
Fixed compilation error on OS/2 (strnlen declaration was not visible).
[wxWidgets.git] / include / wx / docmdi.h
index 628b685543194fde65e5bfac729c5931669a3bf1..828e6a5b6ddacace0fb89757130762c140a7e7df 100644 (file)
@@ -84,7 +84,7 @@ public:
     inline wxView *GetView(void) const { return m_childView; }
     inline void SetDocument(wxDocument *doc) { m_childDocument = doc; }
     inline void SetView(wxView *view) { m_childView = view; }
-    bool Destroy() { m_childView = (wxView *)NULL; return wxMDIChildFrame::Destroy(); }
+    bool Destroy() { m_childView = NULL; return wxMDIChildFrame::Destroy(); }
 
 protected:
     void Init();