diff --git a/common/dialog_shim.cpp b/common/dialog_shim.cpp index 3c256f28da..7bcf5596ef 100644 --- a/common/dialog_shim.cpp +++ b/common/dialog_shim.cpp @@ -66,7 +66,7 @@ END_EVENT_TABLE() DIALOG_SHIM::DIALOG_SHIM( wxWindow* aParent, wxWindowID id, const wxString& title, - const wxPoint& pos, const wxSize& size, long style, + const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxDialog( aParent, id, title, pos, size, style, name ), KIWAY_HOLDER( nullptr, KIWAY_HOLDER::DIALOG ), diff --git a/include/dialog_shim.h b/include/dialog_shim.h index 9466da3f16..f566f59348 100644 --- a/include/dialog_shim.h +++ b/include/dialog_shim.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck - * Copyright (C) 2012-2018 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2012-2019 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -105,7 +105,7 @@ public: DIALOG_SHIM( wxWindow* aParent, wxWindowID id, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER, + long style = wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString& name = wxDialogNameStr );