diff options
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/layout.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 5017c52cb000..ecf3d135d811 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1815,7 +1815,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & VclPtr<MessageDialog> xDialog(VclPtr<MessageDialog>::Create(pParent, nBits)); m_pParserState->m_aMessageDialogs.push_back(xDialog); xWindow = xDialog; -#if defined WNT +#if defined _WIN32 xWindow->set_border_width(3); #else xWindow->set_border_width(12); diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index ce8b3379dbc1..56c93c2c3b10 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -2196,7 +2196,7 @@ void MessageDialog::create_message_area() void MessageDialog::create_owned_areas() { -#if defined WNT +#if defined _WIN32 set_border_width(3); #else set_border_width(12); |