X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55906de77d5e0a62729bbe6bd30d958f4c70099..a4ea083bbdf710d3234dcbd2eafb5d0e078f8348:/src/common/paper.cpp?ds=sidebyside diff --git a/src/common/paper.cpp b/src/common/paper.cpp index 49f76ed77e..12df669e35 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 04/01/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -374,8 +373,7 @@ bool wxPrintPaperModule::OnInit() void wxPrintPaperModule::OnExit() { - delete wxThePrintPaperDatabase; - wxThePrintPaperDatabase = NULL; + wxDELETE(wxThePrintPaperDatabase); } #endif // wxUSE_PRINTING_ARCHITECTURE