]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
wait4() replaced by waitpid() which is POSIX
[wxWidgets.git] / src / common / docview.cpp
index 47fc1beea027c5fe807bec6c6b0d14acb25814c2..01f8ebe21a7a33d2dbaa08e29ee1d2dc33a642cd 100644 (file)
@@ -462,9 +462,10 @@ void wxDocument::SetFilename(const wxString& filename, bool notifyViews)
  * Document view
  */
  
-wxView::wxView(wxDocument *doc)
+wxView::wxView()
 {
-  SetDocument(doc);
+//  SetDocument(doc);
+  m_viewDocument = (wxDocument*) NULL;
   
   m_viewTypeName = "";
   m_viewFrame = (wxFrame *) NULL;