SvxZoomDialog: m_pColumnsEdit can be a NumericField
Change-Id: Ic5469c89587b509822be8e29febc9047548c07ab
This commit is contained in:
parent
dc061a19e0
commit
5fff8a99b3
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue