Remove tests for _UNICODE too
It is now always defined, so testing for it is useless. Give an error in MSVC-specific header if it is not defined as it should be.
This commit is contained in:
parent
340998fe77
commit
53b3b979fe
8 changed files with 31 additions and 207 deletions
|
|
@ -159,7 +159,6 @@ wxDECLARE_APP(MyApp);
|
|||
// Notice use of wxIMPLEMENT_APP_NO_MAIN() instead of the usual wxIMPLEMENT_APP!
|
||||
wxIMPLEMENT_APP_NO_MAIN(MyApp);
|
||||
|
||||
#ifdef _UNICODE
|
||||
// In Unicode build MFC normally requires to manually change the entry point to
|
||||
// wWinMainCRTStartup() but to avoid having to modify the project options to do
|
||||
// it we provide an adapter for it.
|
||||
|
|
@ -169,7 +168,6 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, char *, int)
|
|||
{
|
||||
wWinMainCRTStartup();
|
||||
}
|
||||
#endif // _UNICODE
|
||||
|
||||
CMainWindow::CMainWindow()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue