Add a tooltip in DIALOG_POSITION_RELATIVE.

This commit is contained in:
jean-pierre charras 2018-05-18 20:42:24 +02:00
parent 149f4f68c9
commit bbc01e0c2b
2 changed files with 3 additions and 1 deletions

View File

@ -103,6 +103,8 @@ DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE( wxWindow* parent,
bSizerBottom = new wxBoxSizer( wxHORIZONTAL );
m_select_anchor_button = new wxButton( this, wxID_ANY, _("Select Anchor Position"), wxDefaultPosition, wxDefaultSize, 0 );
m_select_anchor_button->SetToolTip( _("Click and select a board item.\nThe anchor position will be the position of the selected item.") );
bSizerBottom->Add( m_select_anchor_button, 0, wxALL, 5 );

View File

@ -1890,7 +1890,7 @@
<property name="style"></property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip"></property>
<property name="tooltip">Click and select a board item.&#x0A;The anchor position will be the position of the selected item.</property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>