-// Show/hide position controls
-void wxRichTextSizePage::ShowPositionControls(bool show)
-{
- if (m_parentSizer)
- {
- m_parentSizer->Show(m_positionControls, show);
- Layout();
- }
-}
-
-// Show/hide floating and alignment controls
-void wxRichTextSizePage::ShowFloatingAndAlignmentControls(bool show)
-{
- if (m_parentSizer)
- {
- m_parentSizer->Show(m_floatingAlignmentSizer, show);
- Layout();
- }
-}
-
-// Show/hide floating controls
-void wxRichTextSizePage::ShowFloatingControls(bool show)
-{
- if (m_floatingAlignmentSizer)
- {
- m_floatingAlignmentSizer->Show(m_floatingSizer, show);
- Layout();
- }
-}
-
-// Show/hide alignment controls
-void wxRichTextSizePage::ShowAlignmentControls(bool show)
-{
- if (m_floatingAlignmentSizer)
- {
- m_floatingAlignmentSizer->Show(m_alignmentSizer, show);
- Layout();
- }
-}
-
-// Show/hide position mode controls
-void wxRichTextSizePage::ShowPositionModeControls(bool show)
-{
- if (m_moveObjectParentSizer)
- {
- m_moveObjectParentSizer->Show(m_positionModeSizer, show);
- Layout();
- }
-}
-
-// Show/hide right/bottom position controls
-void wxRichTextSizePage::ShowRightBottomPositionControls(bool show)
-{
- if (m_positionGridSizer)
- {
- m_positionGridSizer->Show(m_positionRightCheckbox, show);
- m_positionGridSizer->Show(m_rightPositionSizer, show);
- m_positionGridSizer->Show(m_positionBottomCheckbox, show);
- m_positionGridSizer->Show(m_bottomPositionSizer, show);
- Layout();
- }
-}
-