]> git.saurik.com Git - wxWidgets.git/commitdiff
Forgot to commit these.
authorRobert Roebling <robert@roebling.de>
Sun, 7 Nov 2004 10:20:14 +0000 (10:20 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 7 Nov 2004 10:20:14 +0000 (10:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appcmn.cpp
src/generic/prntdlgg.cpp

index 0c15d2a85d8f82aab4491087806113b5d95f1eb0..4b5a93d45378419a98d64334e91403edcbd87aa9 100644 (file)
@@ -46,7 +46,6 @@
 #include "wx/thread.h"
 #include "wx/utils.h"
 #include "wx/ptr_scpd.h"
-#include "wx/prntbase.h"
 
 #if defined(__WXMSW__) && !defined(__PALMOS__)
   #include  "wx/msw/private.h"  // includes windows.h for LOGFONT
@@ -141,8 +140,6 @@ void wxAppBase::CleanUp()
         delete wxTopLevelWindows.GetFirst()->GetData();
     }
     
-    wxPrintFactory::SetPrintFactory( NULL );
-
     // undo everything we did in Initialize() above
     wxBitmap::CleanUpHandlers();
 
index e201b9d82c2b44ca68429b9bd6bc601d3c82e60a..5d24eb9e7d264c838b95e9dae52d0127ff0200b9 100644 (file)
@@ -829,6 +829,10 @@ void wxGenericPageSetupDialog::OnPrinter(wxCommandEvent& WXUNUSED(event))
     TransferDataFromWindow();
 
     // Transfer the current print settings from this dialog to the page setup dialog.
+    
+#if 0
+    // Use print factory later    
+    
     wxPrintDialogData data;
     data = GetPageSetupData().GetPrintData();
     data.SetSetupDialog(true);
@@ -842,6 +846,7 @@ void wxGenericPageSetupDialog::OnPrinter(wxCommandEvent& WXUNUSED(event))
 
     // Now update the dialog in case the page setup dialog changed some of our settings.
     TransferDataToWindow();
+#endif
 }
 
 wxGenericPageSetupDialog::wxGenericPageSetupDialog( wxWindow *parent,