From deb6aa8cc5f25c9aa6cc3f359496eb517f6c1695 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 20 Sep 2012 21:15:14 +0200 Subject: [PATCH] Fix incorrect titles in SVG export dialog --- pcbnew/dialogs/dialog_SVG_print_base.cpp | 2 +- pcbnew/dialogs/dialog_SVG_print_base.fbp | 4 ++-- pcbnew/dialogs/dialog_SVG_print_base.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pcbnew/dialogs/dialog_SVG_print_base.cpp b/pcbnew/dialogs/dialog_SVG_print_base.cpp index aa5ae71e73..334a7538bd 100644 --- a/pcbnew/dialogs/dialog_SVG_print_base.cpp +++ b/pcbnew/dialogs/dialog_SVG_print_base.cpp @@ -78,7 +78,7 @@ DIALOG_SVG_PRINT_base::DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id, c wxString m_rbFileOptChoices[] = { _("One file per layer"), _("All in one file") }; int m_rbFileOptNChoices = sizeof( m_rbFileOptChoices ) / sizeof( wxString ); - m_rbFileOpt = new wxRadioBox( this, wxID_ANY, _("wxRadioBox"), wxDefaultPosition, wxDefaultSize, m_rbFileOptNChoices, m_rbFileOptChoices, 1, wxRA_SPECIFY_COLS ); + m_rbFileOpt = new wxRadioBox( this, wxID_ANY, _("File option:"), wxDefaultPosition, wxDefaultSize, m_rbFileOptNChoices, m_rbFileOptChoices, 1, wxRA_SPECIFY_COLS ); m_rbFileOpt->SetSelection( 0 ); bButtonsSizer->Add( m_rbFileOpt, 0, wxALL, 5 ); diff --git a/pcbnew/dialogs/dialog_SVG_print_base.fbp b/pcbnew/dialogs/dialog_SVG_print_base.fbp index a5e7b103e4..9694a9854f 100644 --- a/pcbnew/dialogs/dialog_SVG_print_base.fbp +++ b/pcbnew/dialogs/dialog_SVG_print_base.fbp @@ -45,7 +45,7 @@ 507,420 wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER - Create SVG file + Export SVG file @@ -728,7 +728,7 @@ 0 0 wxID_ANY - wxRadioBox + File option: 1 0 diff --git a/pcbnew/dialogs/dialog_SVG_print_base.h b/pcbnew/dialogs/dialog_SVG_print_base.h index 7322db2fbc..cbc292315e 100644 --- a/pcbnew/dialogs/dialog_SVG_print_base.h +++ b/pcbnew/dialogs/dialog_SVG_print_base.h @@ -64,7 +64,7 @@ class DIALOG_SVG_PRINT_base : public wxDialog public: - DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create SVG file"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 507,420 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export SVG file"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 507,420 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); ~DIALOG_SVG_PRINT_base(); };