minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2009-12-05 19:57:58 +00:00
parent 00491f99f4
commit 65391c8ffc
25 changed files with 67 additions and 85 deletions

View File

@@ -525,11 +525,11 @@ wxPrintNativeDataBase* wxOSXCreatePrintData()
{
#if wxOSX_USE_COCOA
return new wxOSXCocoaPrintData();
#endif
#if wxOSX_USE_CARBON
#elif wxOSX_USE_CARBON
return new wxOSXCarbonPrintData();
#endif
#else
return NULL;
#endif
}
/*
@@ -659,7 +659,6 @@ bool wxMacPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
{
if (sm_abortIt)
{
keepGoing = false;
break;
}
else
@@ -717,7 +716,7 @@ bool wxMacPrinter::Setup(wxWindow *WXUNUSED(parent))
return (ret == wxID_OK);
#endif
return wxID_CANCEL;
return false;
}
/*