diff --git a/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.cpp b/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.cpp index 260535a0ec..77b102583a 100644 --- a/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.cpp +++ b/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.cpp @@ -9,7 +9,7 @@ /////////////////////////////////////////////////////////////////////////// -DIALOG_DIELECTRIC_MATERIAL_BASE::DIALOG_DIELECTRIC_MATERIAL_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) +DIALOG_DIELECTRIC_MATERIAL_BASE::DIALOG_DIELECTRIC_MATERIAL_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style ) { this->SetSizeHints( wxDefaultSize, wxDefaultSize ); diff --git a/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.fbp b/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.fbp index 92e35eaf6c..77eb555fcc 100644 --- a/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.fbp +++ b/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.fbp @@ -49,8 +49,8 @@ 581,353 wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER - ; ; forward_declare - + DIALOG_SHIM; dialog_shim.h; forward_declare + Dielectric Materials diff --git a/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.h b/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.h index 97d4f32733..002bf7c657 100644 --- a/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.h +++ b/pcbnew/board_stackup_manager/dialog_dielectric_list_manager_base.h @@ -10,6 +10,7 @@ #include #include #include +#include "dialog_shim.h" #include #include #include @@ -29,7 +30,7 @@ /////////////////////////////////////////////////////////////////////////////// /// Class DIALOG_DIELECTRIC_MATERIAL_BASE /////////////////////////////////////////////////////////////////////////////// -class DIALOG_DIELECTRIC_MATERIAL_BASE : public wxDialog +class DIALOG_DIELECTRIC_MATERIAL_BASE : public DIALOG_SHIM { private: @@ -54,7 +55,7 @@ class DIALOG_DIELECTRIC_MATERIAL_BASE : public wxDialog public: - DIALOG_DIELECTRIC_MATERIAL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 581,353 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + DIALOG_DIELECTRIC_MATERIAL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Dielectric Materials"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 581,353 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); ~DIALOG_DIELECTRIC_MATERIAL_BASE(); };