__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-12-19 10:47:44 +00:00
parent 634fb75048
commit a71d815bbe
28 changed files with 87 additions and 226 deletions

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: app.cpp
// Name: src/msw/app.cpp
// Purpose: wxApp
// Author: Julian Smart
// Modified by:
@@ -292,9 +292,9 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
}
#endif
#if defined(__WIN95__) && !defined(__WXMICROWIN__)
#if !defined(__WXMICROWIN__)
InitCommonControls();
#endif // __WIN95__
#endif // !defined(__WXMICROWIN__)
#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
SHInitExtraControls();
@@ -479,7 +479,7 @@ void wxApp::CleanUp()
delete wxWinHandleHash;
wxWinHandleHash = NULL;
#ifdef __WXWINCE__
free( wxCanvasClassName );
free( wxCanvasClassNameNR );
@@ -723,7 +723,7 @@ terminate the program,\r\n\
\"Retry\" to exit the program normally and \"Ignore\" to try to continue."),
_T("Unhandled exception"),
MB_ABORTRETRYIGNORE |
MB_ICONERROR|
MB_ICONERROR|
MB_TASKMODAL
)
)
@@ -773,4 +773,3 @@ bool wxApp::ProcessMessage(WXMSG* pMsg)
}
#endif // WXWIN_COMPATIBILITY_2_4