define the undefined wxThePrintSetup global.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4356ee76a5
commit
21e3b8620a
@ -2341,6 +2341,8 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
WXDLLEXPORT wxPrintSetupData *wxThePrintSetupData = 0;
|
||||
|
||||
void wxInitializePrintSetupData(bool init)
|
||||
{
|
||||
if (init)
|
||||
@ -2350,8 +2352,7 @@ void wxInitializePrintSetupData(bool init)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (wxThePrintSetupData)
|
||||
delete wxThePrintSetupData;
|
||||
delete wxThePrintSetupData;
|
||||
|
||||
wxThePrintSetupData = (wxPrintSetupData *) NULL;
|
||||
}
|
||||
@ -2390,3 +2391,6 @@ void wxPostScriptModule::OnExit()
|
||||
|
||||
#endif
|
||||
// wxUSE_PRINTING_ARCHITECTURE
|
||||
|
||||
|
||||
// vi:sts=4:sw=4:et
|
||||
|
Loading…
Reference in New Issue
Block a user