SvxZoomDialog: m_pColumnsEdit can be a NumericField

Change-Id: Ic5469c89587b509822be8e29febc9047548c07ab
This commit is contained in:
Miklos Vajna 2013-03-04 16:26:44 +01:00
parent dc061a19e0
commit 5fff8a99b3
3 changed files with 5 additions and 5 deletions

View file

@ -355,7 +355,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutUserHdl, RadioButton *, pBtn )
// -----------------------------------------------------------------------
IMPL_LINK( SvxZoomDialog, ViewLayoutSpinHdl, MetricField *, pEdt )
IMPL_LINK( SvxZoomDialog, ViewLayoutSpinHdl, NumericField *, pEdt )
{
if ( pEdt == m_pColumnsEdit && !m_pColumnsBtn->IsChecked() )
return 0;

View file

@ -38,7 +38,7 @@ private:
RadioButton* m_pAutomaticBtn;
RadioButton* m_pSingleBtn;
RadioButton* m_pColumnsBtn;
MetricField* m_pColumnsEdit;
NumericField* m_pColumnsEdit;
CheckBox* m_pBookModeChk;
OKButton* m_pOKBtn;
@ -51,7 +51,7 @@ private:
DECL_LINK( UserHdl, RadioButton* );
DECL_LINK(SpinHdl, void *);
DECL_LINK( ViewLayoutUserHdl, RadioButton* );
DECL_LINK( ViewLayoutSpinHdl, MetricField* );
DECL_LINK( ViewLayoutSpinHdl, NumericField* );
DECL_LINK( ViewLayoutCheckHdl, CheckBox* );
DECL_LINK( OKHdl, Button* );
#endif

View file

@ -300,7 +300,7 @@
<property name="draw_indicator">True</property>
<property name="group">automatic</property>
<accessibility>
<relation type="label-for" target="columnssb:0"/>
<relation type="label-for" target="columnssb"/>
<relation type="label-for" target="bookmode"/>
</accessibility>
</object>
@ -311,7 +311,7 @@
</packing>
</child>
<child>
<object class="GtkSpinButton" id="columnssb:0">
<object class="GtkSpinButton" id="columnssb">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>