From d6a56e5d3dd827c1b0d5b9d26330b52b6990716c Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 18 Jun 2017 22:31:26 +0200 Subject: [PATCH] fix a compil issue in a auto-generated file. --- pcbnew/dialogs/dialog_move_exact_base.cpp | 26 +---------------------- pcbnew/dialogs/dialog_move_exact_base.fbp | 6 +++--- pcbnew/dialogs/dialog_move_exact_base.h | 2 +- 3 files changed, 5 insertions(+), 29 deletions(-) diff --git a/pcbnew/dialogs/dialog_move_exact_base.cpp b/pcbnew/dialogs/dialog_move_exact_base.cpp index b325de694a..794628ad2e 100644 --- a/pcbnew/dialogs/dialog_move_exact_base.cpp +++ b/pcbnew/dialogs/dialog_move_exact_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version May 6 2016) +// C++ code generated with wxFormBuilder (version Feb 19 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! @@ -32,14 +32,6 @@ DIALOG_MOVE_EXACT_BASE::DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id, fgInputSizer->Add( m_xLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5 ); m_xEntry = new wxTextCtrl( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 ); - #ifdef __WXGTK__ - if ( !m_xEntry->HasFlag( wxTE_MULTILINE ) ) - { - m_xEntry->SetMaxLength( ); - } - #else - m_xEntry->SetMaxLength( ); - #endif fgInputSizer->Add( m_xEntry, 0, wxALL|wxEXPAND, 5 ); m_xUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 ); @@ -54,14 +46,6 @@ DIALOG_MOVE_EXACT_BASE::DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id, fgInputSizer->Add( m_yLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5 ); m_yEntry = new wxTextCtrl( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 ); - #ifdef __WXGTK__ - if ( !m_yEntry->HasFlag( wxTE_MULTILINE ) ) - { - m_yEntry->SetMaxLength( ); - } - #else - m_yEntry->SetMaxLength( ); - #endif fgInputSizer->Add( m_yEntry, 0, wxALL|wxEXPAND, 5 ); m_yUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 ); @@ -76,14 +60,6 @@ DIALOG_MOVE_EXACT_BASE::DIALOG_MOVE_EXACT_BASE( wxWindow* parent, wxWindowID id, fgInputSizer->Add( m_rotLabel, 0, wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL, 5 ); m_rotEntry = new wxTextCtrl( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 ); - #ifdef __WXGTK__ - if ( !m_rotEntry->HasFlag( wxTE_MULTILINE ) ) - { - m_rotEntry->SetMaxLength( ); - } - #else - m_rotEntry->SetMaxLength( ); - #endif fgInputSizer->Add( m_rotEntry, 0, wxALL|wxEXPAND, 5 ); m_rotUnit = new wxStaticText( this, wxID_ANY, _("deg"), wxDefaultPosition, wxDefaultSize, 0 ); diff --git a/pcbnew/dialogs/dialog_move_exact_base.fbp b/pcbnew/dialogs/dialog_move_exact_base.fbp index 27080b40aa..66049765ed 100644 --- a/pcbnew/dialogs/dialog_move_exact_base.fbp +++ b/pcbnew/dialogs/dialog_move_exact_base.fbp @@ -324,7 +324,7 @@ 0 - + 0 0 @@ -669,7 +669,7 @@ 0 - + 0 0 @@ -1014,7 +1014,7 @@ 0 - + 0 0 diff --git a/pcbnew/dialogs/dialog_move_exact_base.h b/pcbnew/dialogs/dialog_move_exact_base.h index 28ccebcd5c..e15815b632 100644 --- a/pcbnew/dialogs/dialog_move_exact_base.h +++ b/pcbnew/dialogs/dialog_move_exact_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version May 6 2016) +// C++ code generated with wxFormBuilder (version Feb 19 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE!