Removed DrawOpenSpline since it doesn't seem to be needed, with required changes
in all ports. Added Motif wxFileDialog. Added wxPostScriptModule and removed PostScript init in app.cpp. Also removed wxMessageBox function from generic implementation. Windows release .exes are now smaller (< 300K for minimal.exe). Some OGL updates. __try -> try in MSW main.cpp. BC++ 5 fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#endif
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
#include "wx/postscrp.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/module.h"
|
||||
|
||||
@@ -149,13 +148,6 @@ bool wxApp::Initialize()
|
||||
wxInitializeResourceSystem();
|
||||
#endif
|
||||
|
||||
// For PostScript printing
|
||||
#if wxUSE_POSTSCRIPT
|
||||
wxInitializePrintSetupData();
|
||||
wxThePrintPaperDatabase = new wxPrintPaperDatabase;
|
||||
wxThePrintPaperDatabase->CreateDatabase();
|
||||
#endif
|
||||
|
||||
wxBitmap::InitStandardHandlers();
|
||||
|
||||
#if defined(__WIN95__)
|
||||
@@ -387,12 +379,13 @@ void wxApp::ConvertToStandardCommandArgs(char* lpCmdLine)
|
||||
char* str = buf;
|
||||
while (*str)
|
||||
{
|
||||
if ( count == WXSIZEOF(command) )
|
||||
/*
|
||||
if ( count == WXSIZEOF(command) )
|
||||
{
|
||||
wxFAIL_MSG("too many command line args.");
|
||||
break;
|
||||
}
|
||||
|
||||
*/
|
||||
while ( *str && isspace(*str) ) // skip whitespace
|
||||
str++;
|
||||
|
||||
@@ -456,12 +449,6 @@ void wxApp::CleanUp()
|
||||
delete wxTheColourDatabase;
|
||||
wxTheColourDatabase = NULL;
|
||||
|
||||
#if wxUSE_POSTSCRIPT
|
||||
wxInitializePrintSetupData(FALSE);
|
||||
delete wxThePrintPaperDatabase;
|
||||
wxThePrintPaperDatabase = NULL;
|
||||
#endif
|
||||
|
||||
wxBitmap::CleanUpHandlers();
|
||||
|
||||
delete[] wxBuffer;
|
||||
@@ -525,7 +512,7 @@ int wxEntry(WXHINSTANCE hInstance,
|
||||
bool enterLoop)
|
||||
{
|
||||
#ifndef __WXDEBUG__ // take everything into a try-except block in release build
|
||||
__try {
|
||||
try {
|
||||
#endif
|
||||
|
||||
wxhInstance = (HINSTANCE) hInstance;
|
||||
@@ -606,7 +593,7 @@ int wxEntry(WXHINSTANCE hInstance,
|
||||
return retValue;
|
||||
#ifndef __WXDEBUG__ // catch exceptions only in release build
|
||||
}
|
||||
__except ( EXCEPTION_EXECUTE_HANDLER ) {
|
||||
except ( EXCEPTION_EXECUTE_HANDLER ) {
|
||||
/*
|
||||
if ( wxTheApp )
|
||||
wxTheApp->OnFatalException();
|
||||
|
Reference in New Issue
Block a user