From 81f6d0051884a26c60d641d18e3950f9b7fa66bd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 6 Dec 2014 13:07:10 +0000 Subject: [PATCH] Move MSWGetDefaultLayout() outside of #if wxUSE_EXCEPTIONS block. Build fix for wxUSE_EXCEPTIONS==0 after r78236. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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