]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/paper.cpp
Add another test for the insertion point position after SetValue().
[wxWidgets.git] / src / common / paper.cpp
index 49f76ed77e205a84abf93327f702c0cead32dadc..db2f7e0a5dc84df1c42c692a39438956d73cf971 100644 (file)
@@ -374,8 +374,7 @@ bool wxPrintPaperModule::OnInit()
 
 void wxPrintPaperModule::OnExit()
 {
-    delete wxThePrintPaperDatabase;
-    wxThePrintPaperDatabase = NULL;
+    wxDELETE(wxThePrintPaperDatabase);
 }
 
 #endif // wxUSE_PRINTING_ARCHITECTURE