Forgot to commit these.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,7 +46,6 @@
|
|||||||
#include "wx/thread.h"
|
#include "wx/thread.h"
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/ptr_scpd.h"
|
#include "wx/ptr_scpd.h"
|
||||||
#include "wx/prntbase.h"
|
|
||||||
|
|
||||||
#if defined(__WXMSW__) && !defined(__PALMOS__)
|
#if defined(__WXMSW__) && !defined(__PALMOS__)
|
||||||
#include "wx/msw/private.h" // includes windows.h for LOGFONT
|
#include "wx/msw/private.h" // includes windows.h for LOGFONT
|
||||||
@@ -141,8 +140,6 @@ void wxAppBase::CleanUp()
|
|||||||
delete wxTopLevelWindows.GetFirst()->GetData();
|
delete wxTopLevelWindows.GetFirst()->GetData();
|
||||||
}
|
}
|
||||||
|
|
||||||
wxPrintFactory::SetPrintFactory( NULL );
|
|
||||||
|
|
||||||
// undo everything we did in Initialize() above
|
// undo everything we did in Initialize() above
|
||||||
wxBitmap::CleanUpHandlers();
|
wxBitmap::CleanUpHandlers();
|
||||||
|
|
||||||
|
@@ -829,6 +829,10 @@ void wxGenericPageSetupDialog::OnPrinter(wxCommandEvent& WXUNUSED(event))
|
|||||||
TransferDataFromWindow();
|
TransferDataFromWindow();
|
||||||
|
|
||||||
// Transfer the current print settings from this dialog to the page setup dialog.
|
// Transfer the current print settings from this dialog to the page setup dialog.
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
// Use print factory later
|
||||||
|
|
||||||
wxPrintDialogData data;
|
wxPrintDialogData data;
|
||||||
data = GetPageSetupData().GetPrintData();
|
data = GetPageSetupData().GetPrintData();
|
||||||
data.SetSetupDialog(true);
|
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.
|
// Now update the dialog in case the page setup dialog changed some of our settings.
|
||||||
TransferDataToWindow();
|
TransferDataToWindow();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGenericPageSetupDialog::wxGenericPageSetupDialog( wxWindow *parent,
|
wxGenericPageSetupDialog::wxGenericPageSetupDialog( wxWindow *parent,
|
||||||
|
Reference in New Issue
Block a user