Make translation easier in dialog_create_array_base.
This commit is contained in:
parent
08d9b362be
commit
2afee8fb58
|
@ -222,6 +222,11 @@ EDA_3D_FRAME::EDA_3D_FRAME( KIWAY* aKiway, PCB_BASE_FRAME* aParent,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
EDA_3D_FRAME::~EDA_3D_FRAME()
|
||||||
|
{
|
||||||
|
m_auimgr.UnInit();
|
||||||
|
}
|
||||||
|
|
||||||
void EDA_3D_FRAME::Exit3DFrame( wxCommandEvent& event )
|
void EDA_3D_FRAME::Exit3DFrame( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
Close( true );
|
Close( true );
|
||||||
|
|
|
@ -69,10 +69,7 @@ public:
|
||||||
EDA_3D_FRAME( KIWAY* aKiway, PCB_BASE_FRAME* aParent, const wxString& aTitle,
|
EDA_3D_FRAME( KIWAY* aKiway, PCB_BASE_FRAME* aParent, const wxString& aTitle,
|
||||||
long style = KICAD_DEFAULT_3D_DRAWFRAME_STYLE );
|
long style = KICAD_DEFAULT_3D_DRAWFRAME_STYLE );
|
||||||
|
|
||||||
~EDA_3D_FRAME()
|
~EDA_3D_FRAME();
|
||||||
{
|
|
||||||
m_auimgr.UnInit();
|
|
||||||
};
|
|
||||||
|
|
||||||
PCB_BASE_FRAME* Parent() const { return (PCB_BASE_FRAME*)GetParent(); }
|
PCB_BASE_FRAME* Parent() const { return (PCB_BASE_FRAME*)GetParent(); }
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,8 @@ public:
|
||||||
* @param aFilename = the full file name of the file to load
|
* @param aFilename = the full file name of the file to load
|
||||||
* @return true if as succeeded
|
* @return true if as succeeded
|
||||||
*/
|
*/
|
||||||
virtual bool Load( const wxString& aFilename ) {
|
virtual bool Load( const wxString& aFilename )
|
||||||
|
{
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Mar 9 2015)
|
// C++ code generated with wxFormBuilder (version Jun 17 2015)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||||
|
@ -167,7 +167,7 @@ DIALOG_CREATE_ARRAY_BASE::DIALOG_CREATE_ARRAY_BASE( wxWindow* parent, wxWindowID
|
||||||
m_gridPanel->SetSizer( bSizer2 );
|
m_gridPanel->SetSizer( bSizer2 );
|
||||||
m_gridPanel->Layout();
|
m_gridPanel->Layout();
|
||||||
bSizer2->Fit( m_gridPanel );
|
bSizer2->Fit( m_gridPanel );
|
||||||
m_gridTypeNotebook->AddPage( m_gridPanel, _("Grid"), true );
|
m_gridTypeNotebook->AddPage( m_gridPanel, _("Grid Array"), true );
|
||||||
m_circularPanel = new wxPanel( m_gridTypeNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
m_circularPanel = new wxPanel( m_gridTypeNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
||||||
wxBoxSizer* bSizer4;
|
wxBoxSizer* bSizer4;
|
||||||
bSizer4 = new wxBoxSizer( wxHORIZONTAL );
|
bSizer4 = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
@ -278,7 +278,7 @@ DIALOG_CREATE_ARRAY_BASE::DIALOG_CREATE_ARRAY_BASE( wxWindow* parent, wxWindowID
|
||||||
m_circularPanel->SetSizer( bSizer4 );
|
m_circularPanel->SetSizer( bSizer4 );
|
||||||
m_circularPanel->Layout();
|
m_circularPanel->Layout();
|
||||||
bSizer4->Fit( m_circularPanel );
|
bSizer4->Fit( m_circularPanel );
|
||||||
m_gridTypeNotebook->AddPage( m_circularPanel, _("Circular"), false );
|
m_gridTypeNotebook->AddPage( m_circularPanel, _("Circular Array"), false );
|
||||||
|
|
||||||
bMainSizer->Add( m_gridTypeNotebook, 1, wxEXPAND | wxALL, 5 );
|
bMainSizer->Add( m_gridTypeNotebook, 1, wxEXPAND | wxALL, 5 );
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,7 @@
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI"></event>
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap">Load From File; </property>
|
<property name="bitmap">Load From File; </property>
|
||||||
<property name="label">Grid</property>
|
<property name="label">Grid Array</property>
|
||||||
<property name="select">1</property>
|
<property name="select">1</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
@ -2962,7 +2962,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="notebookpage" expanded="1">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">Circular</property>
|
<property name="label">Circular Array</property>
|
||||||
<property name="select">0</property>
|
<property name="select">0</property>
|
||||||
<object class="wxPanel" expanded="1">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Mar 9 2015)
|
// C++ code generated with wxFormBuilder (version Jun 17 2015)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||||
|
|
Loading…
Reference in New Issue