Kicad: bug fix in menubar when changing the selected locale.
fctsys.h: remove useless define. Fix minor issues and add minor enhancements.
This commit is contained in:
parent
f3cc32f9e2
commit
292c1f0912
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
#ifndef KICAD_BUILD_VERSION
|
#ifndef KICAD_BUILD_VERSION
|
||||||
#if defined KICAD_GOST
|
#if defined KICAD_GOST
|
||||||
# define KICAD_BUILD_VERSION "(2011-nov-30 GOST)"
|
# define KICAD_BUILD_VERSION "(2012-oct-18 GOST)"
|
||||||
#else
|
#else
|
||||||
# define KICAD_BUILD_VERSION "(2011-nov-30)"
|
# define KICAD_BUILD_VERSION "(2012-oct-18)"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<wxFormBuilder_Project>
|
<wxFormBuilder_Project>
|
||||||
<FileVersion major="1" minor="10" />
|
<FileVersion major="1" minor="11" />
|
||||||
<object class="Project" expanded="1">
|
<object class="Project" expanded="1">
|
||||||
<property name="class_decoration" />
|
<property name="class_decoration" />
|
||||||
<property name="code_generation">C++</property>
|
<property name="code_generation">C++</property>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Sep 8 2010)
|
// C++ code generated with wxFormBuilder (version Apr 10 2012)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
DIALOG_GET_COMPONENT_BASE::DIALOG_GET_COMPONENT_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
|
DIALOG_GET_COMPONENT_BASE::DIALOG_GET_COMPONENT_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 );
|
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ DIALOG_GET_COMPONENT_BASE::DIALOG_GET_COMPONENT_BASE( wxWindow* parent, wxWindow
|
||||||
|
|
||||||
bSizerLeft->Add( m_historyList, 1, wxALL|wxEXPAND, 5 );
|
bSizerLeft->Add( m_historyList, 1, wxALL|wxEXPAND, 5 );
|
||||||
|
|
||||||
|
|
||||||
bSizerMain->Add( bSizerLeft, 1, wxEXPAND, 5 );
|
bSizerMain->Add( bSizerLeft, 1, wxEXPAND, 5 );
|
||||||
|
|
||||||
wxBoxSizer* bSizerRight;
|
wxBoxSizer* bSizerRight;
|
||||||
|
@ -56,8 +57,10 @@ DIALOG_GET_COMPONENT_BASE::DIALOG_GET_COMPONENT_BASE( wxWindow* parent, wxWindow
|
||||||
m_buttonBrowse = new wxButton( this, ID_EXTRA_TOOL, _("Select by Browser"), wxDefaultPosition, wxDefaultSize, 0 );
|
m_buttonBrowse = new wxButton( this, ID_EXTRA_TOOL, _("Select by Browser"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
bSizerRight->Add( m_buttonBrowse, 0, wxALL|wxEXPAND, 5 );
|
bSizerRight->Add( m_buttonBrowse, 0, wxALL|wxEXPAND, 5 );
|
||||||
|
|
||||||
|
|
||||||
bSizerMain->Add( bSizerRight, 0, wxALIGN_CENTER_VERTICAL, 5 );
|
bSizerMain->Add( bSizerRight, 0, wxALIGN_CENTER_VERTICAL, 5 );
|
||||||
|
|
||||||
|
|
||||||
this->SetSizer( bSizerMain );
|
this->SetSizer( bSizerMain );
|
||||||
this->Layout();
|
this->Layout();
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<wxFormBuilder_Project>
|
<wxFormBuilder_Project>
|
||||||
<FileVersion major="1" minor="10" />
|
<FileVersion major="1" minor="11" />
|
||||||
<object class="Project" expanded="1">
|
<object class="Project" expanded="1">
|
||||||
<property name="class_decoration"></property>
|
<property name="class_decoration"></property>
|
||||||
<property name="code_generation">C++</property>
|
<property name="code_generation">C++</property>
|
||||||
<property name="disconnect_events">1</property>
|
<property name="disconnect_events">1</property>
|
||||||
<property name="disconnect_mode">source_name</property>
|
<property name="disconnect_mode">source_name</property>
|
||||||
|
<property name="disconnect_php_events">0</property>
|
||||||
<property name="disconnect_python_events">0</property>
|
<property name="disconnect_python_events">0</property>
|
||||||
|
<property name="embedded_files_path">res</property>
|
||||||
<property name="encoding">UTF-8</property>
|
<property name="encoding">UTF-8</property>
|
||||||
<property name="event_generation">connect</property>
|
<property name="event_generation">connect</property>
|
||||||
<property name="file">dialog_get_component_base</property>
|
<property name="file">dialog_get_component_base</property>
|
||||||
|
@ -18,10 +20,13 @@
|
||||||
<property name="path">.</property>
|
<property name="path">.</property>
|
||||||
<property name="precompiled_header"></property>
|
<property name="precompiled_header"></property>
|
||||||
<property name="relative_path">1</property>
|
<property name="relative_path">1</property>
|
||||||
|
<property name="skip_php_events">1</property>
|
||||||
<property name="skip_python_events">1</property>
|
<property name="skip_python_events">1</property>
|
||||||
<property name="use_enum">0</property>
|
<property name="use_enum">0</property>
|
||||||
<property name="use_microsoft_bom">0</property>
|
<property name="use_microsoft_bom">0</property>
|
||||||
<object class="Dialog" expanded="1">
|
<object class="Dialog" expanded="1">
|
||||||
|
<property name="aui_managed">0</property>
|
||||||
|
<property name="aui_manager_style">wxAUI_MGR_DEFAULT</property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
<property name="center">wxBOTH</property>
|
<property name="center">wxBOTH</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
|
@ -39,18 +44,20 @@
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="size">375,210</property>
|
<property name="size">375,210</property>
|
||||||
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass">DIALOG_SHIM; dialog_shim.h</property>
|
||||||
<property name="title"></property>
|
<property name="title"></property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<event name="OnActivate"></event>
|
<event name="OnActivate"></event>
|
||||||
<event name="OnActivateApp"></event>
|
<event name="OnActivateApp"></event>
|
||||||
|
<event name="OnAuiFindManager"></event>
|
||||||
|
<event name="OnAuiPaneButton"></event>
|
||||||
|
<event name="OnAuiPaneClose"></event>
|
||||||
|
<event name="OnAuiPaneMaximize"></event>
|
||||||
|
<event name="OnAuiPaneRestore"></event>
|
||||||
|
<event name="OnAuiRender"></event>
|
||||||
<event name="OnChar"></event>
|
<event name="OnChar"></event>
|
||||||
<event name="OnClose"></event>
|
<event name="OnClose"></event>
|
||||||
<event name="OnEnterWindow"></event>
|
<event name="OnEnterWindow"></event>
|
||||||
|
@ -98,28 +105,55 @@
|
||||||
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="1">
|
<object class="wxStaticText" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Name:</property>
|
<property name="label">Name:</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_staticTextName</property>
|
<property name="name">m_staticTextName</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
|
@ -154,23 +188,54 @@
|
||||||
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxTextCtrl" expanded="1">
|
<object class="wxTextCtrl" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
<property name="maxlength">0</property>
|
<property name="maxlength">0</property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_textCmpNameCtrl</property>
|
<property name="name">m_textCmpNameCtrl</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
@ -214,28 +279,55 @@
|
||||||
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxTOP|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="1">
|
<object class="wxStaticText" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">History list:</property>
|
<property name="label">History list:</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_staticTextHistory</property>
|
<property name="name">m_staticTextHistory</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
|
@ -270,23 +362,54 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxListBox" expanded="1">
|
<object class="wxListBox" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
<property name="choices"></property>
|
<property name="choices"></property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">ID_SEL_BY_LISTBOX</property>
|
<property name="id">ID_SEL_BY_LISTBOX</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size">200,100</property>
|
<property name="minimum_size">200,100</property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_historyList</property>
|
<property name="name">m_historyList</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
@ -338,24 +461,55 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">1</property>
|
<property name="default">1</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_OK</property>
|
<property name="id">wxID_OK</property>
|
||||||
<property name="label">OK</property>
|
<property name="label">OK</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_buttonOK</property>
|
<property name="name">m_buttonOK</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
@ -395,24 +549,55 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">ID_ACCEPT_KEYWORD</property>
|
<property name="id">ID_ACCEPT_KEYWORD</property>
|
||||||
<property name="label">Search by Keyword</property>
|
<property name="label">Search by Keyword</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_buttonKW</property>
|
<property name="name">m_buttonKW</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
@ -452,24 +637,55 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_CANCEL</property>
|
<property name="id">wxID_CANCEL</property>
|
||||||
<property name="label">Cancel</property>
|
<property name="label">Cancel</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_buttonCancel</property>
|
<property name="name">m_buttonCancel</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
@ -509,24 +725,55 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">ID_LIST_ALL</property>
|
<property name="id">ID_LIST_ALL</property>
|
||||||
<property name="label">List All</property>
|
<property name="label">List All</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_buttonList</property>
|
<property name="name">m_buttonList</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
@ -566,24 +813,55 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
|
<property name="BottomDockable">1</property>
|
||||||
|
<property name="LeftDockable">1</property>
|
||||||
|
<property name="RightDockable">1</property>
|
||||||
|
<property name="TopDockable">1</property>
|
||||||
|
<property name="aui_layer"></property>
|
||||||
|
<property name="aui_name"></property>
|
||||||
|
<property name="aui_position"></property>
|
||||||
|
<property name="aui_row"></property>
|
||||||
|
<property name="best_size"></property>
|
||||||
<property name="bg"></property>
|
<property name="bg"></property>
|
||||||
|
<property name="caption"></property>
|
||||||
|
<property name="caption_visible">1</property>
|
||||||
|
<property name="center_pane">0</property>
|
||||||
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
|
<property name="default_pane">0</property>
|
||||||
|
<property name="dock">Dock</property>
|
||||||
|
<property name="dock_fixed">0</property>
|
||||||
|
<property name="docking">Left</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg"></property>
|
||||||
|
<property name="floatable">1</property>
|
||||||
<property name="font"></property>
|
<property name="font"></property>
|
||||||
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">ID_EXTRA_TOOL</property>
|
<property name="id">ID_EXTRA_TOOL</property>
|
||||||
<property name="label">Select by Browser</property>
|
<property name="label">Select by Browser</property>
|
||||||
|
<property name="max_size"></property>
|
||||||
|
<property name="maximize_button">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
|
<property name="min_size"></property>
|
||||||
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_buttonBrowse</property>
|
<property name="name">m_buttonBrowse</property>
|
||||||
|
<property name="pane_border">1</property>
|
||||||
|
<property name="pane_position"></property>
|
||||||
|
<property name="pane_size"></property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
|
<property name="pin_button">1</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
|
<property name="resize">Resizable</property>
|
||||||
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Sep 8 2010)
|
// C++ code generated with wxFormBuilder (version Apr 10 2012)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef __dialog_get_component_base__
|
#ifndef __DIALOG_GET_COMPONENT_BASE_H__
|
||||||
#define __dialog_get_component_base__
|
#define __DIALOG_GET_COMPONENT_BASE_H__
|
||||||
|
|
||||||
|
#include <wx/artprov.h>
|
||||||
|
#include <wx/xrc/xmlres.h>
|
||||||
#include <wx/intl.h>
|
#include <wx/intl.h>
|
||||||
|
#include "dialog_shim.h"
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
#include <wx/stattext.h>
|
#include <wx/stattext.h>
|
||||||
#include <wx/gdicmn.h>
|
#include <wx/gdicmn.h>
|
||||||
|
@ -32,7 +34,7 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
/// Class DIALOG_GET_COMPONENT_BASE
|
/// Class DIALOG_GET_COMPONENT_BASE
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class DIALOG_GET_COMPONENT_BASE : public wxDialog
|
class DIALOG_GET_COMPONENT_BASE : public DIALOG_SHIM
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -55,9 +57,9 @@ class DIALOG_GET_COMPONENT_BASE : public wxDialog
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
DIALOG_GET_COMPONENT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 375,210 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
DIALOG_GET_COMPONENT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 375,210 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
||||||
~DIALOG_GET_COMPONENT_BASE();
|
~DIALOG_GET_COMPONENT_BASE();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__dialog_get_component_base__
|
#endif //__DIALOG_GET_COMPONENT_BASE_H__
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<wxFormBuilder_Project>
|
<wxFormBuilder_Project>
|
||||||
<FileVersion major="1" minor="10" />
|
<FileVersion major="1" minor="11" />
|
||||||
<object class="Project" expanded="1">
|
<object class="Project" expanded="1">
|
||||||
<property name="class_decoration"></property>
|
<property name="class_decoration" />
|
||||||
<property name="code_generation">C++</property>
|
<property name="code_generation">C++</property>
|
||||||
<property name="disconnect_events">1</property>
|
<property name="disconnect_events">1</property>
|
||||||
<property name="disconnect_mode">source_name</property>
|
<property name="disconnect_mode">source_name</property>
|
||||||
|
@ -14,73 +14,73 @@
|
||||||
<property name="help_provider">none</property>
|
<property name="help_provider">none</property>
|
||||||
<property name="internationalize">1</property>
|
<property name="internationalize">1</property>
|
||||||
<property name="name">dialog_hotkeys_editor_base</property>
|
<property name="name">dialog_hotkeys_editor_base</property>
|
||||||
<property name="namespace"></property>
|
<property name="namespace" />
|
||||||
<property name="path">.</property>
|
<property name="path">.</property>
|
||||||
<property name="precompiled_header"></property>
|
<property name="precompiled_header" />
|
||||||
<property name="relative_path">1</property>
|
<property name="relative_path">1</property>
|
||||||
<property name="skip_python_events">1</property>
|
<property name="skip_python_events">1</property>
|
||||||
<property name="use_enum">0</property>
|
<property name="use_enum">0</property>
|
||||||
<property name="use_microsoft_bom">0</property>
|
<property name="use_microsoft_bom">0</property>
|
||||||
<object class="Dialog" expanded="1">
|
<object class="Dialog" expanded="1">
|
||||||
<property name="bg"></property>
|
<property name="bg" />
|
||||||
<property name="center"></property>
|
<property name="center" />
|
||||||
<property name="context_help"></property>
|
<property name="context_help" />
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="event_handler">impl_virtual</property>
|
<property name="event_handler">impl_virtual</property>
|
||||||
<property name="extra_style"></property>
|
<property name="extra_style" />
|
||||||
<property name="fg"></property>
|
<property name="fg" />
|
||||||
<property name="font"></property>
|
<property name="font" />
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size" />
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size" />
|
||||||
<property name="name">HOTKEYS_EDITOR_DIALOG_BASE</property>
|
<property name="name">HOTKEYS_EDITOR_DIALOG_BASE</property>
|
||||||
<property name="pos"></property>
|
<property name="pos" />
|
||||||
<property name="size">304,235</property>
|
<property name="size">304,235</property>
|
||||||
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass" />
|
||||||
<property name="title">Hotkeys Editor</property>
|
<property name="title">Hotkeys Editor</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip" />
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type" />
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
<property name="validator_variable"></property>
|
<property name="validator_variable" />
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style" />
|
||||||
<property name="window_name"></property>
|
<property name="window_name" />
|
||||||
<property name="window_style"></property>
|
<property name="window_style" />
|
||||||
<event name="OnActivate"></event>
|
<event name="OnActivate" />
|
||||||
<event name="OnActivateApp"></event>
|
<event name="OnActivateApp" />
|
||||||
<event name="OnChar"></event>
|
<event name="OnChar" />
|
||||||
<event name="OnClose"></event>
|
<event name="OnClose" />
|
||||||
<event name="OnEnterWindow"></event>
|
<event name="OnEnterWindow" />
|
||||||
<event name="OnEraseBackground"></event>
|
<event name="OnEraseBackground" />
|
||||||
<event name="OnHibernate"></event>
|
<event name="OnHibernate" />
|
||||||
<event name="OnIconize"></event>
|
<event name="OnIconize" />
|
||||||
<event name="OnIdle"></event>
|
<event name="OnIdle" />
|
||||||
<event name="OnInitDialog"></event>
|
<event name="OnInitDialog" />
|
||||||
<event name="OnKeyDown"></event>
|
<event name="OnKeyDown" />
|
||||||
<event name="OnKeyUp"></event>
|
<event name="OnKeyUp" />
|
||||||
<event name="OnKillFocus"></event>
|
<event name="OnKillFocus" />
|
||||||
<event name="OnLeaveWindow"></event>
|
<event name="OnLeaveWindow" />
|
||||||
<event name="OnLeftDClick"></event>
|
<event name="OnLeftDClick" />
|
||||||
<event name="OnLeftDown"></event>
|
<event name="OnLeftDown" />
|
||||||
<event name="OnLeftUp"></event>
|
<event name="OnLeftUp" />
|
||||||
<event name="OnMiddleDClick"></event>
|
<event name="OnMiddleDClick" />
|
||||||
<event name="OnMiddleDown"></event>
|
<event name="OnMiddleDown" />
|
||||||
<event name="OnMiddleUp"></event>
|
<event name="OnMiddleUp" />
|
||||||
<event name="OnMotion"></event>
|
<event name="OnMotion" />
|
||||||
<event name="OnMouseEvents"></event>
|
<event name="OnMouseEvents" />
|
||||||
<event name="OnMouseWheel"></event>
|
<event name="OnMouseWheel" />
|
||||||
<event name="OnPaint"></event>
|
<event name="OnPaint" />
|
||||||
<event name="OnRightDClick"></event>
|
<event name="OnRightDClick" />
|
||||||
<event name="OnRightDown"></event>
|
<event name="OnRightDown" />
|
||||||
<event name="OnRightUp"></event>
|
<event name="OnRightUp" />
|
||||||
<event name="OnSetFocus"></event>
|
<event name="OnSetFocus" />
|
||||||
<event name="OnSize"></event>
|
<event name="OnSize" />
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI" />
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size" />
|
||||||
<property name="name">bMainSizer</property>
|
<property name="name">bMainSizer</property>
|
||||||
<property name="orient">wxHORIZONTAL</property>
|
<property name="orient">wxHORIZONTAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
|
@ -91,19 +91,19 @@
|
||||||
<object class="wxGrid" expanded="1">
|
<object class="wxGrid" expanded="1">
|
||||||
<property name="autosize_cols">1</property>
|
<property name="autosize_cols">1</property>
|
||||||
<property name="autosize_rows">0</property>
|
<property name="autosize_rows">0</property>
|
||||||
<property name="bg"></property>
|
<property name="bg" />
|
||||||
<property name="cell_bg"></property>
|
<property name="cell_bg" />
|
||||||
<property name="cell_font"></property>
|
<property name="cell_font" />
|
||||||
<property name="cell_horiz_alignment">wxALIGN_LEFT</property>
|
<property name="cell_horiz_alignment">wxALIGN_LEFT</property>
|
||||||
<property name="cell_text"></property>
|
<property name="cell_text" />
|
||||||
<property name="cell_vert_alignment">wxALIGN_TOP</property>
|
<property name="cell_vert_alignment">wxALIGN_TOP</property>
|
||||||
<property name="col_label_horiz_alignment">wxALIGN_CENTRE</property>
|
<property name="col_label_horiz_alignment">wxALIGN_CENTRE</property>
|
||||||
<property name="col_label_size">30</property>
|
<property name="col_label_size">30</property>
|
||||||
<property name="col_label_values"></property>
|
<property name="col_label_values" />
|
||||||
<property name="col_label_vert_alignment">wxALIGN_CENTRE</property>
|
<property name="col_label_vert_alignment">wxALIGN_CENTRE</property>
|
||||||
<property name="cols">2</property>
|
<property name="cols">2</property>
|
||||||
<property name="column_sizes"></property>
|
<property name="column_sizes" />
|
||||||
<property name="context_help"></property>
|
<property name="context_help" />
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="drag_col_move">0</property>
|
<property name="drag_col_move">0</property>
|
||||||
<property name="drag_col_size">1</property>
|
<property name="drag_col_size">1</property>
|
||||||
|
@ -111,93 +111,93 @@
|
||||||
<property name="drag_row_size">1</property>
|
<property name="drag_row_size">1</property>
|
||||||
<property name="editing">0</property>
|
<property name="editing">0</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg" />
|
||||||
<property name="font"></property>
|
<property name="font" />
|
||||||
<property name="grid_line_color"></property>
|
<property name="grid_line_color" />
|
||||||
<property name="grid_lines">1</property>
|
<property name="grid_lines">1</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label_bg"></property>
|
<property name="label_bg" />
|
||||||
<property name="label_font"></property>
|
<property name="label_font" />
|
||||||
<property name="label_text"></property>
|
<property name="label_text" />
|
||||||
<property name="margin_height">0</property>
|
<property name="margin_height">0</property>
|
||||||
<property name="margin_width">0</property>
|
<property name="margin_width">0</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size" />
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size" />
|
||||||
<property name="name">m_hotkeyGrid</property>
|
<property name="name">m_hotkeyGrid</property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<property name="pos"></property>
|
<property name="pos" />
|
||||||
<property name="row_label_horiz_alignment">wxALIGN_CENTRE</property>
|
<property name="row_label_horiz_alignment">wxALIGN_CENTRE</property>
|
||||||
<property name="row_label_size">0</property>
|
<property name="row_label_size">0</property>
|
||||||
<property name="row_label_values"></property>
|
<property name="row_label_values" />
|
||||||
<property name="row_label_vert_alignment">wxALIGN_CENTRE</property>
|
<property name="row_label_vert_alignment">wxALIGN_CENTRE</property>
|
||||||
<property name="row_sizes"></property>
|
<property name="row_sizes" />
|
||||||
<property name="rows">1</property>
|
<property name="rows">1</property>
|
||||||
<property name="size"></property>
|
<property name="size" />
|
||||||
<property name="subclass"></property>
|
<property name="subclass" />
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip" />
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type" />
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
<property name="validator_variable"></property>
|
<property name="validator_variable" />
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style" />
|
||||||
<property name="window_name"></property>
|
<property name="window_name" />
|
||||||
<property name="window_style">wxDOUBLE_BORDER|wxTAB_TRAVERSAL|wxWANTS_CHARS</property>
|
<property name="window_style">wxDOUBLE_BORDER|wxTAB_TRAVERSAL|wxWANTS_CHARS</property>
|
||||||
<event name="OnChar">OnKeyPressed</event>
|
<event name="OnChar">OnKeyPressed</event>
|
||||||
<event name="OnEnterWindow"></event>
|
<event name="OnEnterWindow" />
|
||||||
<event name="OnEraseBackground"></event>
|
<event name="OnEraseBackground" />
|
||||||
<event name="OnGridCellChange"></event>
|
<event name="OnGridCellChange" />
|
||||||
<event name="OnGridCellLeftClick"></event>
|
<event name="OnGridCellLeftClick" />
|
||||||
<event name="OnGridCellLeftDClick"></event>
|
<event name="OnGridCellLeftDClick" />
|
||||||
<event name="OnGridCellRightClick">OnRightClickOnCell</event>
|
<event name="OnGridCellRightClick">OnRightClickOnCell</event>
|
||||||
<event name="OnGridCellRightDClick"></event>
|
<event name="OnGridCellRightDClick" />
|
||||||
<event name="OnGridCmdCellChange"></event>
|
<event name="OnGridCmdCellChange" />
|
||||||
<event name="OnGridCmdCellLeftClick"></event>
|
<event name="OnGridCmdCellLeftClick" />
|
||||||
<event name="OnGridCmdCellLeftDClick"></event>
|
<event name="OnGridCmdCellLeftDClick" />
|
||||||
<event name="OnGridCmdCellRightClick"></event>
|
<event name="OnGridCmdCellRightClick" />
|
||||||
<event name="OnGridCmdCellRightDClick"></event>
|
<event name="OnGridCmdCellRightDClick" />
|
||||||
<event name="OnGridCmdColSize"></event>
|
<event name="OnGridCmdColSize" />
|
||||||
<event name="OnGridCmdEditorCreated"></event>
|
<event name="OnGridCmdEditorCreated" />
|
||||||
<event name="OnGridCmdEditorHidden"></event>
|
<event name="OnGridCmdEditorHidden" />
|
||||||
<event name="OnGridCmdEditorShown"></event>
|
<event name="OnGridCmdEditorShown" />
|
||||||
<event name="OnGridCmdLabelLeftClick"></event>
|
<event name="OnGridCmdLabelLeftClick" />
|
||||||
<event name="OnGridCmdLabelLeftDClick"></event>
|
<event name="OnGridCmdLabelLeftDClick" />
|
||||||
<event name="OnGridCmdLabelRightClick"></event>
|
<event name="OnGridCmdLabelRightClick" />
|
||||||
<event name="OnGridCmdLabelRightDClick"></event>
|
<event name="OnGridCmdLabelRightDClick" />
|
||||||
<event name="OnGridCmdRangeSelect"></event>
|
<event name="OnGridCmdRangeSelect" />
|
||||||
<event name="OnGridCmdRowSize"></event>
|
<event name="OnGridCmdRowSize" />
|
||||||
<event name="OnGridCmdSelectCell"></event>
|
<event name="OnGridCmdSelectCell" />
|
||||||
<event name="OnGridColSize"></event>
|
<event name="OnGridColSize" />
|
||||||
<event name="OnGridEditorCreated"></event>
|
<event name="OnGridEditorCreated" />
|
||||||
<event name="OnGridEditorHidden"></event>
|
<event name="OnGridEditorHidden" />
|
||||||
<event name="OnGridEditorShown"></event>
|
<event name="OnGridEditorShown" />
|
||||||
<event name="OnGridLabelLeftClick"></event>
|
<event name="OnGridLabelLeftClick" />
|
||||||
<event name="OnGridLabelLeftDClick"></event>
|
<event name="OnGridLabelLeftDClick" />
|
||||||
<event name="OnGridLabelRightClick"></event>
|
<event name="OnGridLabelRightClick" />
|
||||||
<event name="OnGridLabelRightDClick"></event>
|
<event name="OnGridLabelRightDClick" />
|
||||||
<event name="OnGridRangeSelect"></event>
|
<event name="OnGridRangeSelect" />
|
||||||
<event name="OnGridRowSize"></event>
|
<event name="OnGridRowSize" />
|
||||||
<event name="OnGridSelectCell">OnClickOnCell</event>
|
<event name="OnGridSelectCell">OnClickOnCell</event>
|
||||||
<event name="OnKeyDown"></event>
|
<event name="OnKeyDown" />
|
||||||
<event name="OnKeyUp"></event>
|
<event name="OnKeyUp" />
|
||||||
<event name="OnKillFocus"></event>
|
<event name="OnKillFocus" />
|
||||||
<event name="OnLeaveWindow"></event>
|
<event name="OnLeaveWindow" />
|
||||||
<event name="OnLeftDClick"></event>
|
<event name="OnLeftDClick" />
|
||||||
<event name="OnLeftDown"></event>
|
<event name="OnLeftDown" />
|
||||||
<event name="OnLeftUp"></event>
|
<event name="OnLeftUp" />
|
||||||
<event name="OnMiddleDClick"></event>
|
<event name="OnMiddleDClick" />
|
||||||
<event name="OnMiddleDown"></event>
|
<event name="OnMiddleDown" />
|
||||||
<event name="OnMiddleUp"></event>
|
<event name="OnMiddleUp" />
|
||||||
<event name="OnMotion"></event>
|
<event name="OnMotion" />
|
||||||
<event name="OnMouseEvents"></event>
|
<event name="OnMouseEvents" />
|
||||||
<event name="OnMouseWheel"></event>
|
<event name="OnMouseWheel" />
|
||||||
<event name="OnPaint"></event>
|
<event name="OnPaint" />
|
||||||
<event name="OnRightDClick"></event>
|
<event name="OnRightDClick" />
|
||||||
<event name="OnRightDown"></event>
|
<event name="OnRightDown" />
|
||||||
<event name="OnRightUp"></event>
|
<event name="OnRightUp" />
|
||||||
<event name="OnSetFocus"></event>
|
<event name="OnSetFocus" />
|
||||||
<event name="OnSize"></event>
|
<event name="OnSize" />
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI" />
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
|
@ -205,7 +205,7 @@
|
||||||
<property name="flag">wxALIGN_CENTER_VERTICAL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size" />
|
||||||
<property name="name">b_buttonsSizer</property>
|
<property name="name">b_buttonsSizer</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
|
@ -214,56 +214,56 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
<property name="bg"></property>
|
<property name="bg" />
|
||||||
<property name="context_help"></property>
|
<property name="context_help" />
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg" />
|
||||||
<property name="font"></property>
|
<property name="font" />
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_OK</property>
|
<property name="id">wxID_OK</property>
|
||||||
<property name="label">OK</property>
|
<property name="label">OK</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size" />
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size" />
|
||||||
<property name="name">m_OKButton</property>
|
<property name="name">m_OKButton</property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<property name="pos"></property>
|
<property name="pos" />
|
||||||
<property name="size"></property>
|
<property name="size" />
|
||||||
<property name="style"></property>
|
<property name="style" />
|
||||||
<property name="subclass"></property>
|
<property name="subclass" />
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip" />
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type" />
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
<property name="validator_variable"></property>
|
<property name="validator_variable" />
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style" />
|
||||||
<property name="window_name"></property>
|
<property name="window_name" />
|
||||||
<property name="window_style"></property>
|
<property name="window_style" />
|
||||||
<event name="OnButtonClick">OnOKClicked</event>
|
<event name="OnButtonClick">OnOKClicked</event>
|
||||||
<event name="OnChar"></event>
|
<event name="OnChar" />
|
||||||
<event name="OnEnterWindow"></event>
|
<event name="OnEnterWindow" />
|
||||||
<event name="OnEraseBackground"></event>
|
<event name="OnEraseBackground" />
|
||||||
<event name="OnKeyDown"></event>
|
<event name="OnKeyDown" />
|
||||||
<event name="OnKeyUp"></event>
|
<event name="OnKeyUp" />
|
||||||
<event name="OnKillFocus"></event>
|
<event name="OnKillFocus" />
|
||||||
<event name="OnLeaveWindow"></event>
|
<event name="OnLeaveWindow" />
|
||||||
<event name="OnLeftDClick"></event>
|
<event name="OnLeftDClick" />
|
||||||
<event name="OnLeftDown"></event>
|
<event name="OnLeftDown" />
|
||||||
<event name="OnLeftUp"></event>
|
<event name="OnLeftUp" />
|
||||||
<event name="OnMiddleDClick"></event>
|
<event name="OnMiddleDClick" />
|
||||||
<event name="OnMiddleDown"></event>
|
<event name="OnMiddleDown" />
|
||||||
<event name="OnMiddleUp"></event>
|
<event name="OnMiddleUp" />
|
||||||
<event name="OnMotion"></event>
|
<event name="OnMotion" />
|
||||||
<event name="OnMouseEvents"></event>
|
<event name="OnMouseEvents" />
|
||||||
<event name="OnMouseWheel"></event>
|
<event name="OnMouseWheel" />
|
||||||
<event name="OnPaint"></event>
|
<event name="OnPaint" />
|
||||||
<event name="OnRightDClick"></event>
|
<event name="OnRightDClick" />
|
||||||
<event name="OnRightDown"></event>
|
<event name="OnRightDown" />
|
||||||
<event name="OnRightUp"></event>
|
<event name="OnRightUp" />
|
||||||
<event name="OnSetFocus"></event>
|
<event name="OnSetFocus" />
|
||||||
<event name="OnSize"></event>
|
<event name="OnSize" />
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI" />
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
|
@ -271,56 +271,56 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
<property name="bg"></property>
|
<property name="bg" />
|
||||||
<property name="context_help"></property>
|
<property name="context_help" />
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg" />
|
||||||
<property name="font"></property>
|
<property name="font" />
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_CANCEL</property>
|
<property name="id">wxID_CANCEL</property>
|
||||||
<property name="label">Close</property>
|
<property name="label">Close</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size" />
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size" />
|
||||||
<property name="name"> m_cancelButton</property>
|
<property name="name"> m_cancelButton</property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<property name="pos"></property>
|
<property name="pos" />
|
||||||
<property name="size"></property>
|
<property name="size" />
|
||||||
<property name="style"></property>
|
<property name="style" />
|
||||||
<property name="subclass"></property>
|
<property name="subclass" />
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip" />
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type" />
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
<property name="validator_variable"></property>
|
<property name="validator_variable" />
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style" />
|
||||||
<property name="window_name"></property>
|
<property name="window_name" />
|
||||||
<property name="window_style"></property>
|
<property name="window_style" />
|
||||||
<event name="OnButtonClick">CancelClicked</event>
|
<event name="OnButtonClick">CancelClicked</event>
|
||||||
<event name="OnChar"></event>
|
<event name="OnChar" />
|
||||||
<event name="OnEnterWindow"></event>
|
<event name="OnEnterWindow" />
|
||||||
<event name="OnEraseBackground"></event>
|
<event name="OnEraseBackground" />
|
||||||
<event name="OnKeyDown"></event>
|
<event name="OnKeyDown" />
|
||||||
<event name="OnKeyUp"></event>
|
<event name="OnKeyUp" />
|
||||||
<event name="OnKillFocus"></event>
|
<event name="OnKillFocus" />
|
||||||
<event name="OnLeaveWindow"></event>
|
<event name="OnLeaveWindow" />
|
||||||
<event name="OnLeftDClick"></event>
|
<event name="OnLeftDClick" />
|
||||||
<event name="OnLeftDown"></event>
|
<event name="OnLeftDown" />
|
||||||
<event name="OnLeftUp"></event>
|
<event name="OnLeftUp" />
|
||||||
<event name="OnMiddleDClick"></event>
|
<event name="OnMiddleDClick" />
|
||||||
<event name="OnMiddleDown"></event>
|
<event name="OnMiddleDown" />
|
||||||
<event name="OnMiddleUp"></event>
|
<event name="OnMiddleUp" />
|
||||||
<event name="OnMotion"></event>
|
<event name="OnMotion" />
|
||||||
<event name="OnMouseEvents"></event>
|
<event name="OnMouseEvents" />
|
||||||
<event name="OnMouseWheel"></event>
|
<event name="OnMouseWheel" />
|
||||||
<event name="OnPaint"></event>
|
<event name="OnPaint" />
|
||||||
<event name="OnRightDClick"></event>
|
<event name="OnRightDClick" />
|
||||||
<event name="OnRightDown"></event>
|
<event name="OnRightDown" />
|
||||||
<event name="OnRightUp"></event>
|
<event name="OnRightUp" />
|
||||||
<event name="OnSetFocus"></event>
|
<event name="OnSetFocus" />
|
||||||
<event name="OnSize"></event>
|
<event name="OnSize" />
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI" />
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
|
@ -328,56 +328,56 @@
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxButton" expanded="1">
|
<object class="wxButton" expanded="1">
|
||||||
<property name="bg"></property>
|
<property name="bg" />
|
||||||
<property name="context_help"></property>
|
<property name="context_help" />
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
<property name="default">0</property>
|
<property name="default">0</property>
|
||||||
<property name="enabled">1</property>
|
<property name="enabled">1</property>
|
||||||
<property name="fg"></property>
|
<property name="fg" />
|
||||||
<property name="font"></property>
|
<property name="font" />
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_CANCEL</property>
|
<property name="id">wxID_CANCEL</property>
|
||||||
<property name="label">Undo</property>
|
<property name="label">Undo</property>
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size" />
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size" />
|
||||||
<property name="name">m_undoButton</property>
|
<property name="name">m_undoButton</property>
|
||||||
<property name="permission">protected</property>
|
<property name="permission">protected</property>
|
||||||
<property name="pos"></property>
|
<property name="pos" />
|
||||||
<property name="size"></property>
|
<property name="size" />
|
||||||
<property name="style"></property>
|
<property name="style" />
|
||||||
<property name="subclass"></property>
|
<property name="subclass" />
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip" />
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type" />
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
<property name="validator_variable"></property>
|
<property name="validator_variable" />
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style" />
|
||||||
<property name="window_name"></property>
|
<property name="window_name" />
|
||||||
<property name="window_style"></property>
|
<property name="window_style" />
|
||||||
<event name="OnButtonClick">UndoClicked</event>
|
<event name="OnButtonClick">UndoClicked</event>
|
||||||
<event name="OnChar"></event>
|
<event name="OnChar" />
|
||||||
<event name="OnEnterWindow"></event>
|
<event name="OnEnterWindow" />
|
||||||
<event name="OnEraseBackground"></event>
|
<event name="OnEraseBackground" />
|
||||||
<event name="OnKeyDown"></event>
|
<event name="OnKeyDown" />
|
||||||
<event name="OnKeyUp"></event>
|
<event name="OnKeyUp" />
|
||||||
<event name="OnKillFocus"></event>
|
<event name="OnKillFocus" />
|
||||||
<event name="OnLeaveWindow"></event>
|
<event name="OnLeaveWindow" />
|
||||||
<event name="OnLeftDClick"></event>
|
<event name="OnLeftDClick" />
|
||||||
<event name="OnLeftDown"></event>
|
<event name="OnLeftDown" />
|
||||||
<event name="OnLeftUp"></event>
|
<event name="OnLeftUp" />
|
||||||
<event name="OnMiddleDClick"></event>
|
<event name="OnMiddleDClick" />
|
||||||
<event name="OnMiddleDown"></event>
|
<event name="OnMiddleDown" />
|
||||||
<event name="OnMiddleUp"></event>
|
<event name="OnMiddleUp" />
|
||||||
<event name="OnMotion"></event>
|
<event name="OnMotion" />
|
||||||
<event name="OnMouseEvents"></event>
|
<event name="OnMouseEvents" />
|
||||||
<event name="OnMouseWheel"></event>
|
<event name="OnMouseWheel" />
|
||||||
<event name="OnPaint"></event>
|
<event name="OnPaint" />
|
||||||
<event name="OnRightDClick"></event>
|
<event name="OnRightDClick" />
|
||||||
<event name="OnRightDown"></event>
|
<event name="OnRightDown" />
|
||||||
<event name="OnRightUp"></event>
|
<event name="OnRightUp" />
|
||||||
<event name="OnSetFocus"></event>
|
<event name="OnSetFocus" />
|
||||||
<event name="OnSize"></event>
|
<event name="OnSize" />
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnUpdateUI" />
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
|
|
||||||
#include <fctsys.h>
|
#include <fctsys.h>
|
||||||
#include <wxstruct.h>
|
#include <wxstruct.h>
|
||||||
#include <gr_basic.h>
|
|
||||||
#include <common.h>
|
|
||||||
#include <macros.h>
|
|
||||||
#include <kicad_string.h>
|
#include <kicad_string.h>
|
||||||
#include <dialog_helpers.h>
|
#include <dialog_helpers.h>
|
||||||
|
|
||||||
|
@ -30,7 +27,7 @@ END_EVENT_TABLE()
|
||||||
EDA_LIST_DIALOG::EDA_LIST_DIALOG( EDA_DRAW_FRAME* aParent, const wxString& aTitle,
|
EDA_LIST_DIALOG::EDA_LIST_DIALOG( EDA_DRAW_FRAME* aParent, const wxString& aTitle,
|
||||||
const wxArrayString& aItemList, const wxString& aRefText,
|
const wxArrayString& aItemList, const wxString& aRefText,
|
||||||
void(* aCallBackFunction)(wxString& Text), wxPoint aPos ) :
|
void(* aCallBackFunction)(wxString& Text), wxPoint aPos ) :
|
||||||
wxDialog( aParent, wxID_ANY, aTitle, aPos, wxDefaultSize,
|
DIALOG_SHIM( aParent, wxID_ANY, aTitle, aPos, wxDefaultSize,
|
||||||
wxDEFAULT_DIALOG_STYLE | MAYBE_RESIZE_BORDER )
|
wxDEFAULT_DIALOG_STYLE | MAYBE_RESIZE_BORDER )
|
||||||
{
|
{
|
||||||
m_callBackFct = aCallBackFunction;
|
m_callBackFct = aCallBackFunction;
|
||||||
|
@ -41,18 +38,30 @@ EDA_LIST_DIALOG::EDA_LIST_DIALOG( EDA_DRAW_FRAME* aParent, const wxString& aTitl
|
||||||
SetSizer( GeneralBoxSizer );
|
SetSizer( GeneralBoxSizer );
|
||||||
|
|
||||||
m_listBox = new wxListBox( this, ID_LISTBOX_LIST, wxDefaultPosition,
|
m_listBox = new wxListBox( this, ID_LISTBOX_LIST, wxDefaultPosition,
|
||||||
wxSize( 300, 200 ), 0, NULL,
|
wxDefaultSize, 0, NULL,
|
||||||
wxLB_NEEDED_SB | wxLB_SINGLE | wxLB_HSCROLL );
|
wxLB_NEEDED_SB | wxLB_SINGLE | wxLB_HSCROLL );
|
||||||
|
m_listBox->SetMinSize( wxSize( 200, 200 ) );
|
||||||
|
|
||||||
GeneralBoxSizer->Add( m_listBox, 2, wxGROW | wxALL, 5 );
|
GeneralBoxSizer->Add( m_listBox, 2, wxGROW | wxALL, 5 );
|
||||||
|
|
||||||
InsertItems( aItemList, 0 );
|
InsertItems( aItemList, 0 );
|
||||||
|
|
||||||
|
if( !aRefText.IsEmpty() ) // try to select the item matching aRefText
|
||||||
|
{
|
||||||
|
for( unsigned ii = 0; ii < aItemList.GetCount(); ii++ )
|
||||||
|
if( aItemList[ii] == aRefText )
|
||||||
|
{
|
||||||
|
m_listBox->SetSelection( ii );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if( m_callBackFct )
|
if( m_callBackFct )
|
||||||
{
|
{
|
||||||
m_messages = new wxTextCtrl( this, -1, wxEmptyString,
|
m_messages = new wxTextCtrl( this, -1, wxEmptyString,
|
||||||
wxDefaultPosition, wxSize( -1, 60 ),
|
wxDefaultPosition, wxDefaultSize,
|
||||||
wxTE_READONLY | wxTE_MULTILINE );
|
wxTE_READONLY | wxTE_MULTILINE );
|
||||||
|
m_messages->SetMinSize( wxSize( -1, 60 ) );
|
||||||
|
|
||||||
GeneralBoxSizer->Add( m_messages, 1, wxGROW | wxALL, 5 );
|
GeneralBoxSizer->Add( m_messages, 1, wxGROW | wxALL, 5 );
|
||||||
}
|
}
|
||||||
|
|
|
@ -256,8 +256,10 @@ wxString EDA_FileSelector( const wxString& Title,
|
||||||
wxString defaultpath = Path;
|
wxString defaultpath = Path;
|
||||||
wxString dotted_Ext = wxT(".") + Ext;
|
wxString dotted_Ext = wxT(".") + Ext;
|
||||||
|
|
||||||
defaultname.Replace( wxT( "/" ), STRING_DIR_SEP );
|
#ifdef __WINDOWS__
|
||||||
defaultpath.Replace( wxT( "/" ), STRING_DIR_SEP );
|
defaultname.Replace( wxT( "/" ), wxT( "\\" ) );
|
||||||
|
defaultpath.Replace( wxT( "/" ), wxT( "\\" ) );
|
||||||
|
#endif
|
||||||
|
|
||||||
if( defaultpath.IsEmpty() )
|
if( defaultpath.IsEmpty() )
|
||||||
defaultpath = wxGetCwd();
|
defaultpath = wxGetCwd();
|
||||||
|
@ -421,7 +423,7 @@ int ExecuteFile( wxWindow* frame, const wxString& ExecFile, const wxString& para
|
||||||
FullFileName = FindKicadFile( ExecFile );
|
FullFileName = FindKicadFile( ExecFile );
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
if( wxFileExists( FullFileName ) || wxDir::Exists( FullFileName ) )
|
if( wxFileExists( FullFileName ) || wxDir::Exists( FullFileName ) )
|
||||||
{
|
{
|
||||||
ProcessExecute( wxGetApp().GetExecutablePath() + wxT("/") + ExecFile + wxT(" ") + param );
|
ProcessExecute( wxGetApp().GetExecutablePath() + wxT("/") + ExecFile + wxT(" ") + param );
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -298,7 +298,8 @@ bool EDA_APP::ReadProjectConfig( const wxString& local_config_filename,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( wxPathOnly( g_Prj_Config_LocalFilename ).IsEmpty() )
|
if( wxPathOnly( g_Prj_Config_LocalFilename ).IsEmpty() )
|
||||||
m_CurrentOptionFile = wxGetCwd() + STRING_DIR_SEP + g_Prj_Config_LocalFilename;
|
m_CurrentOptionFile = wxGetCwd() + wxFileName::GetPathSeparator()
|
||||||
|
+ g_Prj_Config_LocalFilename;
|
||||||
else
|
else
|
||||||
m_CurrentOptionFile = g_Prj_Config_LocalFilename;
|
m_CurrentOptionFile = g_Prj_Config_LocalFilename;
|
||||||
}
|
}
|
||||||
|
@ -352,7 +353,8 @@ bool EDA_APP::ReadProjectConfig( const wxString& local_config_filename,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( wxPathOnly( g_Prj_Config_LocalFilename ).IsEmpty() )
|
if( wxPathOnly( g_Prj_Config_LocalFilename ).IsEmpty() )
|
||||||
m_CurrentOptionFile = wxGetCwd() + STRING_DIR_SEP + g_Prj_Config_LocalFilename;
|
m_CurrentOptionFile = wxGetCwd() + wxFileName::GetPathSeparator()
|
||||||
|
+ g_Prj_Config_LocalFilename;
|
||||||
else
|
else
|
||||||
m_CurrentOptionFile = g_Prj_Config_LocalFilename;
|
m_CurrentOptionFile = g_Prj_Config_LocalFilename;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,10 @@
|
||||||
CMP_LIBRARY* SelectLibraryFromList( EDA_DRAW_FRAME* frame )
|
CMP_LIBRARY* SelectLibraryFromList( EDA_DRAW_FRAME* frame )
|
||||||
{
|
{
|
||||||
static wxString OldLibName;
|
static wxString OldLibName;
|
||||||
wxString msg;
|
|
||||||
wxArrayString libNamesList;
|
wxArrayString libNamesList;
|
||||||
int count = CMP_LIBRARY::GetLibraryCount();
|
|
||||||
CMP_LIBRARY* Lib = NULL;
|
CMP_LIBRARY* Lib = NULL;
|
||||||
|
|
||||||
|
int count = CMP_LIBRARY::GetLibraryCount();
|
||||||
if( count == 0 )
|
if( count == 0 )
|
||||||
{
|
{
|
||||||
DisplayError( frame, _( "No component libraries are loaded." ) );
|
DisplayError( frame, _( "No component libraries are loaded." ) );
|
||||||
|
@ -29,22 +28,20 @@ CMP_LIBRARY* SelectLibraryFromList( EDA_DRAW_FRAME* frame )
|
||||||
|
|
||||||
libNamesList = CMP_LIBRARY::GetLibraryNames();
|
libNamesList = CMP_LIBRARY::GetLibraryNames();
|
||||||
|
|
||||||
msg.Printf( _( " Select 1 of %d libraries." ), count );
|
EDA_LIST_DIALOG dlg( frame, _( "Select Library" ), libNamesList, OldLibName );
|
||||||
|
|
||||||
wxSingleChoiceDialog dlg( frame, msg, _( "Select Library" ), libNamesList );
|
if( dlg.ShowModal() != wxID_OK )
|
||||||
|
|
||||||
int index = libNamesList.Index( OldLibName );
|
|
||||||
|
|
||||||
if( index != wxNOT_FOUND )
|
|
||||||
dlg.SetSelection( index );
|
|
||||||
|
|
||||||
if( dlg.ShowModal() == wxID_CANCEL || dlg.GetStringSelection().IsEmpty() )
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
Lib = CMP_LIBRARY::FindLibrary( dlg.GetStringSelection() );
|
wxString libname = dlg.GetTextSelection();
|
||||||
|
|
||||||
|
if( libname.IsEmpty() )
|
||||||
|
return NULL;
|
||||||
|
|
||||||
|
Lib = CMP_LIBRARY::FindLibrary( libname );
|
||||||
|
|
||||||
if( Lib != NULL )
|
if( Lib != NULL )
|
||||||
OldLibName = dlg.GetStringSelection();
|
OldLibName = libname;
|
||||||
|
|
||||||
return Lib;
|
return Lib;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <common.h> // EDA_UNITS_T
|
#include <common.h> // EDA_UNITS_T
|
||||||
|
#include <dialog_shim.h>
|
||||||
|
|
||||||
|
|
||||||
class EDA_DRAW_FRAME;
|
class EDA_DRAW_FRAME;
|
||||||
|
@ -21,7 +22,7 @@ class EDA_DRAW_FRAME;
|
||||||
* Used to display a list of elements for selection, and an help of info line
|
* Used to display a list of elements for selection, and an help of info line
|
||||||
* about the selected item.
|
* about the selected item.
|
||||||
*/
|
*/
|
||||||
class EDA_LIST_DIALOG : public wxDialog
|
class EDA_LIST_DIALOG : public DIALOG_SHIM
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
wxListBox* m_listBox;
|
wxListBox* m_listBox;
|
||||||
|
|
|
@ -26,19 +26,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @note Shouldn't we be using wxFileName::GetPathSeparator() instead of the following code
|
* @note Do we really need these defined?
|
||||||
* for improved portability?
|
|
||||||
*/
|
|
||||||
#ifdef __WINDOWS__
|
|
||||||
#define DIR_SEP '\\'
|
|
||||||
#define STRING_DIR_SEP wxT( "\\" )
|
|
||||||
#else
|
|
||||||
#define DIR_SEP '/'
|
|
||||||
#define STRING_DIR_SEP wxT( "/" )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @note Do we really need these defined again?
|
|
||||||
*/
|
*/
|
||||||
#define UNIX_STRING_DIR_SEP wxT( "/" )
|
#define UNIX_STRING_DIR_SEP wxT( "/" )
|
||||||
#define WIN_STRING_DIR_SEP wxT( "\\" )
|
#define WIN_STRING_DIR_SEP wxT( "\\" )
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
#include <kicad.h>
|
#include <kicad.h>
|
||||||
#include <menus_helpers.h>
|
#include <menus_helpers.h>
|
||||||
|
|
||||||
|
|
||||||
/* Menubar and toolbar event table */
|
/* Menubar and toolbar event table */
|
||||||
BEGIN_EVENT_TABLE( KICAD_MANAGER_FRAME, EDA_BASE_FRAME )
|
BEGIN_EVENT_TABLE( KICAD_MANAGER_FRAME, EDA_BASE_FRAME )
|
||||||
/* Window events */
|
/* Window events */
|
||||||
|
@ -91,6 +90,9 @@ END_EVENT_TABLE()
|
||||||
*/
|
*/
|
||||||
void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
{
|
{
|
||||||
|
static wxMenu* openRecentMenu; // Open Recent submenu,
|
||||||
|
// static to remember this menu
|
||||||
|
|
||||||
// Create and try to get the current menubar
|
// Create and try to get the current menubar
|
||||||
wxMenuItem* item;
|
wxMenuItem* item;
|
||||||
wxMenuBar* menuBar = GetMenuBar();
|
wxMenuBar* menuBar = GetMenuBar();
|
||||||
|
@ -102,6 +104,12 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
// This allows language changes of the menu text on the fly.
|
// This allows language changes of the menu text on the fly.
|
||||||
menuBar->Freeze();
|
menuBar->Freeze();
|
||||||
|
|
||||||
|
// Before deleting, remove the menus managed by m_fileHistory
|
||||||
|
// (the file history will be updated when adding/removing files in history)
|
||||||
|
if( openRecentMenu )
|
||||||
|
wxGetApp().GetFileHistory().RemoveMenu( openRecentMenu );
|
||||||
|
|
||||||
|
// Delete all existing menus
|
||||||
while( menuBar->GetMenuCount() )
|
while( menuBar->GetMenuCount() )
|
||||||
delete menuBar->Remove( 0 );
|
delete menuBar->Remove( 0 );
|
||||||
|
|
||||||
|
@ -117,14 +125,7 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
_( "Open an existing project" ),
|
_( "Open an existing project" ),
|
||||||
KiBitmap( open_project_xpm ) );
|
KiBitmap( open_project_xpm ) );
|
||||||
|
|
||||||
// Open Recent submenu
|
// File history
|
||||||
static wxMenu* openRecentMenu;
|
|
||||||
|
|
||||||
// Add this menu to list menu managed by m_fileHistory
|
|
||||||
// (the file history will be updated when adding/removing files in history
|
|
||||||
if( openRecentMenu )
|
|
||||||
wxGetApp().GetFileHistory().RemoveMenu( openRecentMenu );
|
|
||||||
|
|
||||||
openRecentMenu = new wxMenu();
|
openRecentMenu = new wxMenu();
|
||||||
wxGetApp().GetFileHistory().UseMenu( openRecentMenu );
|
wxGetApp().GetFileHistory().UseMenu( openRecentMenu );
|
||||||
wxGetApp().GetFileHistory().AddFilesToMenu( );
|
wxGetApp().GetFileHistory().AddFilesToMenu( );
|
||||||
|
@ -135,7 +136,7 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
KiBitmap( open_project_xpm ) );
|
KiBitmap( open_project_xpm ) );
|
||||||
|
|
||||||
// New
|
// New
|
||||||
static wxMenu* newMenu = new wxMenu();
|
wxMenu* newMenu = new wxMenu();
|
||||||
AddMenuItem( newMenu, ID_NEW_PROJECT,
|
AddMenuItem( newMenu, ID_NEW_PROJECT,
|
||||||
_( "&Blank\tCtrl+N" ),
|
_( "&Blank\tCtrl+N" ),
|
||||||
_( "Start a blank project" ),
|
_( "Start a blank project" ),
|
||||||
|
@ -147,7 +148,7 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
KiBitmap( new_project_with_template_xpm ) );
|
KiBitmap( new_project_with_template_xpm ) );
|
||||||
|
|
||||||
AddMenuItem( fileMenu, newMenu,
|
AddMenuItem( fileMenu, newMenu,
|
||||||
wxID_ANY,
|
wxID_ANY,
|
||||||
_( "New" ),
|
_( "New" ),
|
||||||
_( "Start a new project" ),
|
_( "Start a new project" ),
|
||||||
KiBitmap( new_project_xpm ) );
|
KiBitmap( new_project_xpm ) );
|
||||||
|
|
|
@ -133,11 +133,10 @@ void PCB_EDIT_FRAME::Files_io( wxCommandEvent& event )
|
||||||
case ID_NEW_BOARD:
|
case ID_NEW_BOARD:
|
||||||
{
|
{
|
||||||
Clear_Pcb( true );
|
Clear_Pcb( true );
|
||||||
wxString newFilename;
|
wxFileName fn( wxT( "noname" ) );
|
||||||
newFilename.Printf( wxT( "%s%cnoname%s" ),
|
fn.AssignCwd();
|
||||||
GetChars( wxGetCwd() ), DIR_SEP,
|
fn.SetExt( PcbFileExtension );
|
||||||
GetChars( PcbFileExtension ) );
|
GetBoard()->SetFileName( fn.GetFullPath() );
|
||||||
GetBoard()->SetFileName( newFilename );
|
|
||||||
UpdateTitle();
|
UpdateTitle();
|
||||||
ReCreateLayerBox( NULL );
|
ReCreateLayerBox( NULL );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue