X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2108f33a68772013d4e1c9dc2e476bb8ae77ad8f..9a98a85452729f479bad8538738ee899a0b1aa34:/samples/docvwmdi/doc.cpp diff --git a/samples/docvwmdi/doc.cpp b/samples/docvwmdi/doc.cpp index 662fe82e16..23a5316143 100644 --- a/samples/docvwmdi/doc.cpp +++ b/samples/docvwmdi/doc.cpp @@ -24,8 +24,8 @@ #include "wx/wx.h" #endif -#if !USE_DOC_VIEW_ARCHITECTURE -#error You must set USE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h! +#if !wxUSE_DOC_VIEW_ARCHITECTURE +#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h! #endif #include "doc.h" @@ -203,7 +203,7 @@ bool DrawingCommand::Undo(void) doc->GetDoodleSegments().Append(segment); doc->Modify(TRUE); doc->UpdateAllViews(); - segment = NULL; + segment = (DoodleSegment *) NULL; } doc->Modify(TRUE); doc->UpdateAllViews();