Kaydet (Commit) 5fff8a99 authored tarafından Miklos Vajna's avatar Miklos Vajna

SvxZoomDialog: m_pColumnsEdit can be a NumericField

Change-Id: Ic5469c89587b509822be8e29febc9047548c07ab
üst dc061a19
...@@ -355,7 +355,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutUserHdl, RadioButton *, pBtn ) ...@@ -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() ) if ( pEdt == m_pColumnsEdit && !m_pColumnsBtn->IsChecked() )
return 0; return 0;
......
...@@ -38,7 +38,7 @@ private: ...@@ -38,7 +38,7 @@ private:
RadioButton* m_pAutomaticBtn; RadioButton* m_pAutomaticBtn;
RadioButton* m_pSingleBtn; RadioButton* m_pSingleBtn;
RadioButton* m_pColumnsBtn; RadioButton* m_pColumnsBtn;
MetricField* m_pColumnsEdit; NumericField* m_pColumnsEdit;
CheckBox* m_pBookModeChk; CheckBox* m_pBookModeChk;
OKButton* m_pOKBtn; OKButton* m_pOKBtn;
...@@ -51,7 +51,7 @@ private: ...@@ -51,7 +51,7 @@ private:
DECL_LINK( UserHdl, RadioButton* ); DECL_LINK( UserHdl, RadioButton* );
DECL_LINK(SpinHdl, void *); DECL_LINK(SpinHdl, void *);
DECL_LINK( ViewLayoutUserHdl, RadioButton* ); DECL_LINK( ViewLayoutUserHdl, RadioButton* );
DECL_LINK( ViewLayoutSpinHdl, MetricField* ); DECL_LINK( ViewLayoutSpinHdl, NumericField* );
DECL_LINK( ViewLayoutCheckHdl, CheckBox* ); DECL_LINK( ViewLayoutCheckHdl, CheckBox* );
DECL_LINK( OKHdl, Button* ); DECL_LINK( OKHdl, Button* );
#endif #endif
......
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
<property name="group">automatic</property> <property name="group">automatic</property>
<accessibility> <accessibility>
<relation type="label-for" target="columnssb:0"/> <relation type="label-for" target="columnssb"/>
<relation type="label-for" target="bookmode"/> <relation type="label-for" target="bookmode"/>
</accessibility> </accessibility>
</object> </object>
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkSpinButton" id="columnssb:0"> <object class="GtkSpinButton" id="columnssb">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="invisible_char"></property> <property name="invisible_char"></property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment