diff --git a/src/msw/app.cpp b/src/msw/app.cpp index b62af00565..7c3cf95c65 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -1008,6 +1008,8 @@ terminate the program,\r\n\ } } +#endif // wxUSE_EXCEPTIONS + // ---------------------------------------------------------------------------- // Layout direction // ---------------------------------------------------------------------------- @@ -1038,5 +1040,3 @@ wxLayoutDirection wxApp::MSWGetDefaultLayout(wxWindow* parent) return dir; } - -#endif // wxUSE_EXCEPTIONS