diff --git a/include/wx/richtext/richtextsizepage.h b/include/wx/richtext/richtextsizepage.h
index 72b9ccfecc..0b8cba035d 100644
--- a/include/wx/richtext/richtextsizepage.h
+++ b/include/wx/richtext/richtextsizepage.h
@@ -76,12 +76,24 @@ public:
virtual bool TransferDataToWindow();
virtual bool TransferDataFromWindow();
- /// Show/hide position controls
+ /// Show/hide position controls
void ShowPositionControls(bool show);
+ /// Show/hide position mode controls
+ void ShowPositionModeControls(bool show);
+
+ /// Show/hide right/bottom position controls
+ void ShowRightBottomPositionControls(bool show);
+
+ /// Show/hide floating and alignment controls
+ void ShowFloatingAndAlignmentControls(bool show);
+
/// Show/hide floating controls
void ShowFloatingControls(bool show);
+ /// Show/hide alignment controls
+ void ShowAlignmentControls(bool show);
+
////@begin wxRichTextSizePage event handler declarations
/// wxEVT_UPDATE_UI event handler for ID_RICHTEXT_VERTICAL_ALIGNMENT_COMBOBOX
@@ -142,9 +154,10 @@ public:
////@begin wxRichTextSizePage member variables
wxBoxSizer* m_parentSizer;
- wxBoxSizer* m_floatingControls;
+ wxBoxSizer* m_floatingAlignmentSizer;
+ wxBoxSizer* m_floatingSizer;
wxComboBox* m_float;
- wxBoxSizer* m_alignmentControls;
+ wxBoxSizer* m_alignmentSizer;
wxCheckBox* m_verticalAlignmentCheckbox;
wxComboBox* m_verticalAlignmentComboBox;
wxCheckBox* m_widthCheckbox;
@@ -167,7 +180,9 @@ public:
wxComboBox* m_unitsMaxH;
wxBoxSizer* m_positionControls;
wxBoxSizer* m_moveObjectParentSizer;
+ wxBoxSizer* m_positionModeSizer;
wxComboBox* m_positionModeCtrl;
+ wxFlexGridSizer* m_positionGridSizer;
wxCheckBox* m_positionLeftCheckbox;
wxTextCtrl* m_left;
wxComboBox* m_unitsLeft;
@@ -175,9 +190,11 @@ public:
wxTextCtrl* m_top;
wxComboBox* m_unitsTop;
wxCheckBox* m_positionRightCheckbox;
+ wxBoxSizer* m_rightPositionSizer;
wxTextCtrl* m_right;
wxComboBox* m_unitsRight;
wxCheckBox* m_positionBottomCheckbox;
+ wxBoxSizer* m_bottomPositionSizer;
wxTextCtrl* m_bottom;
wxComboBox* m_unitsBottom;
wxBoxSizer* m_moveObjectSizer;
diff --git a/src/richtext/richtextdialogs.pjd b/src/richtext/richtextdialogs.pjd
index 31eae6998b..c137410858 100644
--- a/src/richtext/richtextdialogs.pjd
+++ b/src/richtext/richtextdialogs.pjd
@@ -308,9 +308,18 @@
"wbBoxSizerProxy"
"Vertical"
""
+ "Centre"
+ "Centre"
+ 0
+ 5
+ 1
+ 1
+ 1
+ 1
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -336,6 +345,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -361,6 +371,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -386,6 +397,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -455,6 +467,7 @@
0
0
0
+ 0
""
""
@@ -539,6 +552,7 @@
0
0
0
+ 0
""
""
@@ -567,6 +581,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -636,6 +651,7 @@
0
0
0
+ 0
""
""
@@ -662,6 +678,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXTFONTPAGE_SIZETEXTCTRL"
@@ -743,6 +760,7 @@
0
0
0
+ 0
""
""
@@ -816,6 +834,7 @@
0
0
0
+ 0
""
""
@@ -876,6 +895,7 @@
0
0
0
+ 0
""
""
@@ -905,6 +925,7 @@
0
0
0
+ 0
"<Any platform>"
"wxRichTextFontListBox: ID_RICHTEXTFONTPAGE_FACELISTBOX"
@@ -972,6 +993,7 @@
0
0
1
+ 0
""
""
""
@@ -1047,6 +1069,7 @@
0
0
1
+ 0
""
""
@@ -1075,6 +1098,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -1100,6 +1124,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -1169,6 +1194,7 @@
0
0
0
+ 0
""
""
@@ -1235,6 +1261,7 @@
0
0
0
+ 0
""
""
@@ -1263,6 +1290,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -1332,6 +1360,7 @@
0
0
0
+ 0
""
""
@@ -1398,6 +1427,7 @@
0
0
0
+ 0
""
""
@@ -1426,6 +1456,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -1495,6 +1526,7 @@
0
0
0
+ 0
""
""
@@ -1561,6 +1593,7 @@
0
0
0
+ 0
""
""
@@ -1588,6 +1621,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -1614,6 +1648,7 @@
0
0
0
+ 0
"<Any platform>"
"wxCheckBox: ID_RICHTEXTFONTPAGE_COLOURCTRL_LABEL"
@@ -1676,6 +1711,7 @@
0
0
0
+ 0
""
""
@@ -1746,6 +1782,7 @@
0
0
0
+ 0
""
""
""
@@ -1774,6 +1811,7 @@
0
0
0
+ 0
"<Any platform>"
"wxCheckBox: ID_RICHTEXTFONTPAGE_BGCOLOURCTRL_LABEL"
@@ -1836,6 +1874,7 @@
0
0
0
+ 0
""
""
@@ -1905,6 +1944,7 @@
0
0
0
+ 0
""
""
""
@@ -1935,6 +1975,7 @@
0
0
0
+ 0
"<Any platform>"
"wxCheckBox: ID_RICHTEXTFONTPAGE_STRIKETHROUGHCTRL"
@@ -1998,6 +2039,7 @@
0
0
0
+ 0
""
""
@@ -2063,6 +2105,7 @@
0
0
0
+ 0
""
""
@@ -2127,6 +2170,7 @@
0
0
0
+ 0
""
""
@@ -2192,6 +2236,7 @@
0
0
0
+ 0
""
""
@@ -2257,6 +2302,7 @@
0
0
0
+ 0
""
""
@@ -2285,6 +2331,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -2354,6 +2401,7 @@
0
0
0
+ 0
""
""
""
@@ -2465,6 +2513,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -2490,6 +2539,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -2515,6 +2565,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -2540,6 +2591,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -2609,6 +2661,7 @@
0
0
0
+ 0
""
""
@@ -2636,6 +2689,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -2661,6 +2715,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -2687,6 +2742,7 @@
0
0
0
+ 0
"<Any platform>"
"wxRadioButton: ID_RICHTEXTINDENTSSPACINGPAGE_ALIGNMENT_LEFT"
@@ -2748,6 +2804,7 @@
0
0
0
+ 0
""
""
@@ -2811,6 +2868,7 @@
0
0
0
+ 0
""
""
@@ -2874,6 +2932,7 @@
0
0
0
+ 0
""
""
@@ -2937,6 +2996,7 @@
0
0
0
+ 0
""
""
@@ -3000,6 +3060,7 @@
0
0
0
+ 0
""
""
@@ -3030,6 +3091,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -3087,6 +3149,7 @@
0
0
0
+ 0
"Spacer"
@@ -3112,6 +3175,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -3138,6 +3202,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -3207,6 +3272,7 @@
0
0
0
+ 0
""
""
@@ -3234,6 +3300,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -3259,6 +3326,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -3291,6 +3359,7 @@
0
0
0
+ 0
"wxStaticText: wxID_STATIC"
"dialog-control-document"
@@ -3358,6 +3427,7 @@
0
0
0
+ 0
""
""
@@ -3441,6 +3511,7 @@
0
0
0
+ 0
""
""
@@ -3511,6 +3582,7 @@
0
0
0
+ 0
""
""
@@ -3594,6 +3666,7 @@
0
0
0
+ 0
""
""
@@ -3664,6 +3737,7 @@
0
0
0
+ 0
""
""
@@ -3747,6 +3821,7 @@
0
0
0
+ 0
""
""
@@ -3818,6 +3893,7 @@
0
0
0
+ 0
""
""
@@ -3884,6 +3960,7 @@
0
0
0
+ 0
""
""
@@ -3914,6 +3991,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -3971,6 +4049,7 @@
0
0
0
+ 0
"Spacer"
@@ -3996,6 +4075,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -4022,6 +4102,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -4091,6 +4172,7 @@
0
0
0
+ 0
""
""
@@ -4118,6 +4200,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -4143,6 +4226,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -4175,6 +4259,7 @@
0
0
0
+ 0
"wxStaticText: wxID_STATIC"
"dialog-control-document"
@@ -4242,6 +4327,7 @@
0
0
0
+ 0
""
""
@@ -4325,6 +4411,7 @@
0
0
0
+ 0
""
""
@@ -4395,6 +4482,7 @@
0
0
0
+ 0
""
""
@@ -4478,6 +4566,7 @@
0
0
0
+ 0
""
""
@@ -4549,6 +4638,7 @@
0
0
0
+ 0
""
""
@@ -4614,6 +4704,7 @@
0
0
0
+ 0
""
""
@@ -4679,6 +4770,7 @@
0
0
0
+ 0
""
""
@@ -4708,6 +4800,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -4777,6 +4870,7 @@
0
0
0
+ 0
"%PARENT%, %ID%, wxEmptyString, %POSITION%, %SIZE%, %STYLE%"
""
""
@@ -4888,6 +4982,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -4913,6 +5008,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -4938,6 +5034,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -4963,6 +5060,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -5032,6 +5130,7 @@
0
0
0
+ 0
""
""
@@ -5115,6 +5214,7 @@
0
0
0
+ 0
""
""
0
@@ -5191,6 +5291,7 @@
0
0
0
+ 0
""
""
@@ -5219,6 +5320,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -5245,6 +5347,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -5314,6 +5417,7 @@
0
0
0
+ 0
""
""
@@ -5382,6 +5486,7 @@
0
0
0
+ 0
""
""
@@ -5450,6 +5555,7 @@
0
0
0
+ 0
""
""
@@ -5518,6 +5624,7 @@
0
0
0
+ 0
""
""
@@ -5630,6 +5737,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -5655,6 +5763,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -5680,6 +5789,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -5705,6 +5815,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -5774,6 +5885,7 @@
0
0
0
+ 0
""
""
@@ -5849,6 +5961,7 @@
0
0
0
+ 0
""
""
@@ -5876,6 +5989,7 @@
0
0
0
+ 0
"<Any platform>"
"wxCheckBox: ID_RICHTEXTBULLETSPAGE_PERIODCTRL"
@@ -5940,6 +6054,7 @@
0
0
0
+ 0
""
""
@@ -6006,6 +6121,7 @@
0
0
0
+ 0
""
""
@@ -6072,6 +6188,7 @@
0
0
0
+ 0
""
""
@@ -6100,6 +6217,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -6170,6 +6288,7 @@
0
0
0
+ 0
""
""
@@ -6236,6 +6355,7 @@
0
0
1
+ 0
""
""
@@ -6264,6 +6384,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -6321,6 +6442,7 @@
0
0
0
+ 0
"Spacer"
@@ -6346,6 +6468,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -6372,6 +6495,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -6397,6 +6521,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: ID_RICHTEXTBULLETSPAGE_SYMBOLSTATIC"
@@ -6467,6 +6592,7 @@
0
0
0
+ 0
""
""
@@ -6535,6 +6661,7 @@
0
0
1
+ 0
""
""
@@ -6603,6 +6730,7 @@
0
0
0
+ 0
""
""
@@ -6631,6 +6759,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -6702,6 +6831,7 @@
0
0
0
+ 0
""
""
@@ -6770,6 +6900,7 @@
0
0
0
+ 0
""
""
@@ -6797,6 +6928,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -6868,6 +7000,7 @@
0
0
0
+ 0
""
""
@@ -6936,6 +7069,7 @@
0
0
0
+ 0
""
""
@@ -6963,6 +7097,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -7034,6 +7169,7 @@
0
0
0
+ 0
""
""
@@ -7109,6 +7245,7 @@
0
0
0
+ 0
""
""
@@ -7138,6 +7275,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -7207,6 +7345,7 @@
0
0
0
+ 0
"%PARENT%, %ID%, wxEmptyString, %POSITION%, %SIZE%, %STYLE%"
""
""
@@ -7318,6 +7457,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -7343,6 +7483,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -7368,6 +7509,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -7393,6 +7535,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -7462,6 +7605,7 @@
0
0
0
+ 0
""
""
@@ -7545,6 +7689,7 @@
0
0
0
+ 0
""
""
0
@@ -7617,6 +7762,7 @@
0
0
0
+ 0
""
""
@@ -7682,6 +7828,7 @@
0
0
0
+ 0
""
""
@@ -7753,6 +7900,7 @@
0
0
0
+ 0
""
""
@@ -7819,6 +7967,7 @@
0
0
0
+ 0
""
""
@@ -7848,6 +7997,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -7961,6 +8111,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -7986,6 +8137,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -8011,6 +8163,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -8036,6 +8189,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -8105,6 +8259,7 @@
0
0
0
+ 0
""
""
@@ -8171,6 +8326,7 @@
0
0
0
+ 0
""
""
@@ -8198,6 +8354,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -8268,6 +8425,7 @@
0
0
0
+ 0
""
""
@@ -8335,6 +8493,7 @@
0
0
0
+ 0
""
""
@@ -8407,6 +8566,7 @@
0
0
0
+ 0
""
""
""
@@ -8435,6 +8595,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -8504,6 +8665,7 @@
0
0
0
+ 0
""
""
@@ -8531,6 +8693,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -8601,6 +8764,7 @@
0
0
0
+ 0
""
""
@@ -8684,6 +8848,7 @@
0
0
0
+ 0
""
""
0
@@ -8712,6 +8877,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -8782,6 +8948,7 @@
0
0
0
+ 0
""
""
@@ -8848,6 +9015,7 @@
0
0
0
+ 0
""
""
@@ -8882,6 +9050,7 @@
0
0
0
+ 0
"<Any platform>"
"wxButton: wxID_OK"
@@ -8946,6 +9115,7 @@
0
0
0
+ 0
""
""
@@ -9011,6 +9181,7 @@
0
0
0
+ 0
""
""
@@ -9076,6 +9247,7 @@
0
0
0
+ 0
""
""
@@ -9186,6 +9358,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -9211,6 +9384,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -9236,6 +9410,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -9261,6 +9436,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -9330,6 +9506,7 @@
0
0
0
+ 0
""
""
@@ -9400,6 +9577,7 @@
0
0
0
+ 0
""
""
""
@@ -9429,6 +9607,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: ID_RICHTEXTSTYLEORGANISERDIALOG_CURRENT_STYLE"
@@ -9498,6 +9677,7 @@
0
0
0
+ 0
""
""
@@ -9568,6 +9748,7 @@
0
0
0
+ 0
"%PARENT%, %ID%, wxEmptyString, %POSITION%, %SIZE%, %STYLE%"
""
""
@@ -9597,6 +9778,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -9666,6 +9848,7 @@
0
0
0
+ 0
""
""
@@ -9734,6 +9917,7 @@
0
0
0
+ 0
""
""
@@ -9802,6 +9986,7 @@
0
0
0
+ 0
""
""
@@ -9870,6 +10055,7 @@
0
0
0
+ 0
""
""
@@ -9937,6 +10123,7 @@
0
0
0
+ 0
""
""
@@ -9964,6 +10151,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -10031,6 +10219,7 @@
0
0
0
+ 0
""
""
@@ -10099,6 +10288,7 @@
0
0
0
+ 0
""
""
@@ -10167,6 +10357,7 @@
0
0
0
+ 0
""
""
@@ -10235,6 +10426,7 @@
0
0
0
+ 0
""
""
@@ -10262,6 +10454,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -10327,6 +10520,7 @@
0
0
0
+ 0
""
""
@@ -10356,6 +10550,7 @@
0
0
0
+ 0
"<Any platform>"
"wxCheckBox: ID_RICHTEXTSTYLEORGANISERDIALOG_RESTART_NUMBERING"
@@ -10418,6 +10613,7 @@
0
0
0
+ 0
""
""
@@ -10451,6 +10647,7 @@
0
0
0
+ 0
"<Any platform>"
"wxButton: wxID_OK"
@@ -10514,6 +10711,7 @@
0
0
0
+ 0
""
""
@@ -10579,6 +10777,7 @@
0
0
0
+ 0
""
""
@@ -10644,6 +10843,7 @@
0
0
0
+ 0
""
""
@@ -10756,6 +10956,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -10781,6 +10982,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -10806,6 +11008,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -10875,6 +11078,7 @@
0
0
0
+ 0
""
""
@@ -10950,6 +11154,7 @@
0
0
0
+ 0
""
""
@@ -10977,6 +11182,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -11043,6 +11249,7 @@
0
0
0
+ 0
""
""
@@ -11121,6 +11328,7 @@
0
0
0
+ 0
""
""
@@ -11195,6 +11403,7 @@
0
0
0
+ 0
""
""
""
@@ -11223,6 +11432,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -11248,6 +11458,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -11273,6 +11484,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -11342,6 +11554,7 @@
0
0
0
+ 0
""
""
@@ -11417,6 +11630,7 @@
0
0
0
+ 0
""
""
@@ -11444,6 +11658,7 @@
0
0
0
+ 0
"<Any platform>"
"wxCheckBox: ID_RICHTEXTLISTSTYLEPAGE_PERIODCTRL"
@@ -11508,6 +11723,7 @@
0
0
0
+ 0
""
""
@@ -11574,6 +11790,7 @@
0
0
0
+ 0
""
""
@@ -11640,6 +11857,7 @@
0
0
0
+ 0
""
""
@@ -11668,6 +11886,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -11738,6 +11957,7 @@
0
0
0
+ 0
""
""
@@ -11804,6 +12024,7 @@
0
0
1
+ 0
""
""
@@ -11832,6 +12053,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -11889,6 +12111,7 @@
0
0
0
+ 0
"Spacer"
@@ -11914,6 +12137,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -11940,6 +12164,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: ID_RICHTEXTLISTSTYLEPAGE_SYMBOLSTATIC"
@@ -12010,6 +12235,7 @@
0
0
0
+ 0
""
""
@@ -12037,6 +12263,7 @@
0
0
0
+ 0
"<Any platform>"
"wxComboBox: ID_RICHTEXTLISTSTYLEPAGE_SYMBOLCTRL"
@@ -12103,6 +12330,7 @@
0
0
1
+ 0
""
""
@@ -12171,6 +12399,7 @@
0
0
0
+ 0
""
""
@@ -12199,6 +12428,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -12270,6 +12500,7 @@
0
0
0
+ 0
""
""
@@ -12338,6 +12569,7 @@
0
0
0
+ 0
""
""
@@ -12365,6 +12597,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -12436,6 +12669,7 @@
0
0
0
+ 0
""
""
@@ -12504,6 +12738,7 @@
0
0
0
+ 0
""
""
@@ -12583,6 +12818,7 @@
0
0
0
+ 0
""
""
""
@@ -12611,6 +12847,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -12636,6 +12873,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -12661,6 +12899,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -12730,6 +12969,7 @@
0
0
0
+ 0
""
""
@@ -12757,6 +12997,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -12782,6 +13023,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -12808,6 +13050,7 @@
0
0
0
+ 0
"<Any platform>"
"wxRadioButton: ID_RICHTEXTLISTSTYLEPAGE_ALIGNLEFT"
@@ -12869,6 +13112,7 @@
0
0
0
+ 0
""
""
@@ -12932,6 +13176,7 @@
0
0
0
+ 0
""
""
@@ -12995,6 +13240,7 @@
0
0
0
+ 0
""
""
@@ -13058,6 +13304,7 @@
0
0
0
+ 0
""
""
@@ -13121,6 +13368,7 @@
0
0
0
+ 0
""
""
@@ -13151,6 +13399,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -13208,6 +13457,7 @@
0
0
0
+ 0
"Spacer"
@@ -13233,6 +13483,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -13259,6 +13510,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -13328,6 +13580,7 @@
0
0
0
+ 0
""
""
@@ -13355,6 +13608,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -13380,6 +13634,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -13412,6 +13667,7 @@
0
0
0
+ 0
"wxStaticText: wxID_STATIC"
"dialog-control-document"
@@ -13479,6 +13735,7 @@
0
0
0
+ 0
""
""
@@ -13562,6 +13819,7 @@
0
0
0
+ 0
""
""
@@ -13632,6 +13890,7 @@
0
0
0
+ 0
""
""
@@ -13715,6 +13974,7 @@
0
0
0
+ 0
""
""
@@ -13786,6 +14046,7 @@
0
0
0
+ 0
""
""
@@ -13869,6 +14130,7 @@
0
0
0
+ 0
""
""
@@ -13899,6 +14161,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -13956,6 +14219,7 @@
0
0
0
+ 0
"Spacer"
@@ -13981,6 +14245,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -14007,6 +14272,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -14076,6 +14342,7 @@
0
0
0
+ 0
""
""
@@ -14103,6 +14370,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -14128,6 +14396,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -14160,6 +14429,7 @@
0
0
0
+ 0
"wxStaticText: wxID_STATIC"
"dialog-control-document"
@@ -14227,6 +14497,7 @@
0
0
0
+ 0
""
""
@@ -14310,6 +14581,7 @@
0
0
0
+ 0
""
""
@@ -14380,6 +14652,7 @@
0
0
0
+ 0
""
""
@@ -14463,6 +14736,7 @@
0
0
0
+ 0
""
""
@@ -14534,6 +14808,7 @@
0
0
0
+ 0
""
""
@@ -14599,6 +14874,7 @@
0
0
0
+ 0
""
""
@@ -14676,6 +14952,7 @@
0
0
0
+ 0
"%PARENT%, %ID%, wxEmptyString, %POSITION%, %SIZE%, %STYLE%"
""
""
@@ -14785,6 +15062,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -14880,17 +15158,10 @@
"wbBoxSizerProxy"
"Vertical"
""
- "Centre"
- "Centre"
- 0
- 5
- 1
- 1
- 1
- 1
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -14915,6 +15186,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -14927,7 +15199,7 @@
0
"wbBoxSizerProxy"
"Horizontal"
- ""
+ "m_floatingAlignmentSizer"
"Expand"
"Centre"
0
@@ -14939,6 +15211,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -14951,7 +15224,7 @@
0
"wbBoxSizerProxy"
"Vertical"
- "m_floatingControls"
+ "m_floatingSizer"
"Expand"
"Centre"
1
@@ -14963,6 +15236,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -14987,6 +15261,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -15055,6 +15330,7 @@
0
0
0
+ 0
""
""
@@ -15112,6 +15388,7 @@
0
0
0
+ 0
@@ -15137,6 +15414,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -15161,6 +15439,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -15192,6 +15471,7 @@
0
0
0
+ 0
"wxStaticText: wxID_STATIC"
"dialog-control-document"
@@ -15259,6 +15539,7 @@
0
0
0
+ 0
""
""
@@ -15323,6 +15604,7 @@
0
0
0
+ 0
""
""
@@ -15340,7 +15622,7 @@
0
"wbBoxSizerProxy"
"Vertical"
- "m_alignmentControls"
+ "m_alignmentSizer"
"Expand"
"Centre"
1
@@ -15352,6 +15634,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -15376,6 +15659,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -15444,6 +15728,7 @@
0
0
0
+ 0
""
""
@@ -15501,6 +15786,7 @@
0
0
0
+ 0
@@ -15526,6 +15812,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -15550,6 +15837,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -15612,6 +15900,7 @@
0
0
0
+ 0
""
""
@@ -15677,6 +15966,7 @@
0
0
0
+ 0
""
""
@@ -15706,6 +15996,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -15774,6 +16065,7 @@
0
0
0
+ 0
""
""
@@ -15831,6 +16123,7 @@
0
0
0
+ 0
@@ -15856,6 +16149,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -15880,6 +16174,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -15911,6 +16206,7 @@
0
0
0
+ 0
"wxCheckBox: ID_RICHTEXT_WIDTH_CHECKBOX"
"dialog-control-document"
@@ -15971,6 +16267,7 @@
0
0
0
+ 0
""
""
@@ -15997,6 +16294,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_WIDTH"
@@ -16078,6 +16376,7 @@
0
0
0
+ 0
""
""
@@ -16143,6 +16442,7 @@
0
0
0
+ 0
""
""
@@ -16207,6 +16507,7 @@
0
0
0
+ 0
""
""
@@ -16233,6 +16534,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_HEIGHT"
@@ -16314,6 +16616,7 @@
0
0
0
+ 0
""
""
@@ -16379,6 +16682,7 @@
0
0
0
+ 0
""
""
@@ -16443,6 +16747,7 @@
0
0
0
+ 0
""
""
@@ -16469,6 +16774,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_MIN_WIDTH"
@@ -16550,6 +16856,7 @@
0
0
0
+ 0
""
""
@@ -16615,6 +16922,7 @@
0
0
0
+ 0
""
""
@@ -16679,6 +16987,7 @@
0
0
0
+ 0
""
""
@@ -16705,6 +17014,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_MIN_HEIGHT"
@@ -16786,6 +17096,7 @@
0
0
0
+ 0
""
""
@@ -16851,6 +17162,7 @@
0
0
0
+ 0
""
""
@@ -16915,6 +17227,7 @@
0
0
0
+ 0
""
""
@@ -16941,6 +17254,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_MAX_WIDTH"
@@ -17022,6 +17336,7 @@
0
0
0
+ 0
""
""
@@ -17087,6 +17402,7 @@
0
0
0
+ 0
""
""
@@ -17151,6 +17467,7 @@
0
0
0
+ 0
""
""
@@ -17177,6 +17494,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_MAX_HEIGHT"
@@ -17258,6 +17576,7 @@
0
0
0
+ 0
""
""
@@ -17323,6 +17642,7 @@
0
0
0
+ 0
""
""
@@ -17352,6 +17672,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -17376,6 +17697,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -17444,6 +17766,7 @@
0
0
0
+ 0
""
""
@@ -17501,6 +17824,7 @@
0
0
0
+ 0
@@ -17526,6 +17850,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -17550,6 +17875,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -17575,6 +17901,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -17587,7 +17914,7 @@
0
"wbBoxSizerProxy"
"Horizontal"
- ""
+ "m_positionModeSizer"
"Left"
"Centre"
0
@@ -17599,6 +17926,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -17667,6 +17995,7 @@
0
0
0
+ 0
""
""
@@ -17731,6 +18060,7 @@
0
0
0
+ 0
""
""
@@ -17751,7 +18081,7 @@
0
0
0
- ""
+ "m_positionGridSizer"
"<Any platform>"
"Expand"
"Centre"
@@ -17764,6 +18094,7 @@
0
0
0
+ 0
"wxCheckBox: ID_RICHTEXT_LEFT_CHECKBOX"
"dialog-control-document"
@@ -17824,6 +18155,7 @@
0
0
0
+ 0
""
""
@@ -17850,6 +18182,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_LEFT"
@@ -17931,6 +18264,7 @@
0
0
0
+ 0
""
""
@@ -17996,6 +18330,7 @@
0
0
0
+ 0
""
""
@@ -18060,6 +18395,7 @@
0
0
0
+ 0
""
""
@@ -18086,6 +18422,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_TOP"
@@ -18167,6 +18504,7 @@
0
0
0
+ 0
""
""
@@ -18232,6 +18570,7 @@
0
0
0
+ 0
""
""
@@ -18296,6 +18635,7 @@
0
0
0
+ 0
""
""
@@ -18310,7 +18650,7 @@
0
"wbBoxSizerProxy"
"Horizontal"
- ""
+ "m_rightPositionSizer"
"Expand"
"Centre"
0
@@ -18322,6 +18662,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_RIGHT"
@@ -18403,6 +18744,7 @@
0
0
0
+ 0
""
""
@@ -18468,6 +18810,7 @@
0
0
0
+ 0
""
""
@@ -18532,6 +18875,7 @@
0
0
0
+ 0
""
""
@@ -18546,7 +18890,7 @@
0
"wbBoxSizerProxy"
"Horizontal"
- ""
+ "m_bottomPositionSizer"
"Expand"
"Centre"
0
@@ -18558,6 +18902,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_BOTTOM"
@@ -18639,6 +18984,7 @@
0
0
0
+ 0
""
""
@@ -18704,6 +19050,7 @@
0
0
0
+ 0
""
""
@@ -18732,6 +19079,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -18800,6 +19148,7 @@
0
0
0
+ 0
""
""
@@ -18866,6 +19215,7 @@
0
0
0
+ 0
""
""
@@ -18932,6 +19282,7 @@
0
0
0
+ 0
""
""
@@ -19044,6 +19395,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -19068,6 +19420,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -19092,6 +19445,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -19160,6 +19514,7 @@
0
0
0
+ 0
""
""
@@ -19217,6 +19572,7 @@
0
0
0
+ 0
@@ -19242,6 +19598,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -19266,6 +19623,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -19297,6 +19655,7 @@
0
0
0
+ 0
"wxCheckBox: ID_RICHTEXT_LEFT_MARGIN_CHECKBOX"
"dialog-control-document"
@@ -19357,6 +19716,7 @@
0
0
0
+ 0
""
""
@@ -19383,6 +19743,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_LEFT_MARGIN"
@@ -19464,6 +19825,7 @@
0
0
0
+ 0
""
""
@@ -19529,6 +19891,7 @@
0
0
0
+ 0
""
""
@@ -19555,6 +19918,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -19618,6 +19982,7 @@
0
0
0
+ 0
""
""
@@ -19644,6 +20009,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_RIGHT_MARGIN"
@@ -19725,6 +20091,7 @@
0
0
0
+ 0
""
""
@@ -19790,6 +20157,7 @@
0
0
0
+ 0
""
""
@@ -19854,6 +20222,7 @@
0
0
0
+ 0
""
""
@@ -19880,6 +20249,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_TOP_MARGIN"
@@ -19961,6 +20331,7 @@
0
0
0
+ 0
""
""
@@ -20026,6 +20397,7 @@
0
0
0
+ 0
""
""
@@ -20052,6 +20424,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -20115,6 +20488,7 @@
0
0
0
+ 0
""
""
@@ -20141,6 +20515,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_BOTTOM_MARGIN"
@@ -20222,6 +20597,7 @@
0
0
0
+ 0
""
""
@@ -20287,6 +20663,7 @@
0
0
0
+ 0
""
""
@@ -20316,6 +20693,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -20384,6 +20762,7 @@
0
0
0
+ 0
""
""
@@ -20441,6 +20820,7 @@
0
0
0
+ 0
@@ -20466,6 +20846,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -20490,6 +20871,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -20521,6 +20903,7 @@
0
0
0
+ 0
"wxCheckBox: ID_RICHTEXT_LEFT_PADDING_CHECKBOX"
"dialog-control-document"
@@ -20581,6 +20964,7 @@
0
0
0
+ 0
""
""
@@ -20607,6 +20991,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_LEFT_PADDING"
@@ -20688,6 +21073,7 @@
0
0
0
+ 0
""
""
@@ -20753,6 +21139,7 @@
0
0
0
+ 0
""
""
@@ -20779,6 +21166,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -20842,6 +21230,7 @@
0
0
0
+ 0
""
""
@@ -20868,6 +21257,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_RIGHT_PADDING"
@@ -20949,6 +21339,7 @@
0
0
0
+ 0
""
""
@@ -21014,6 +21405,7 @@
0
0
0
+ 0
""
""
@@ -21078,6 +21470,7 @@
0
0
0
+ 0
""
""
@@ -21104,6 +21497,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_TOP_PADDING"
@@ -21185,6 +21579,7 @@
0
0
0
+ 0
""
""
@@ -21250,6 +21645,7 @@
0
0
0
+ 0
""
""
@@ -21276,6 +21672,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -21339,6 +21736,7 @@
0
0
0
+ 0
""
""
@@ -21365,6 +21763,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_BOTTOM_PADDING"
@@ -21446,6 +21845,7 @@
0
0
0
+ 0
""
""
@@ -21511,6 +21911,7 @@
0
0
0
+ 0
""
""
@@ -21622,6 +22023,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -21646,6 +22048,7 @@
0
0
0
+ 0
"<Any platform>"
"wxNotebook: ID_RICHTEXTBORDERSPAGE_NOTEBOOK"
@@ -21720,6 +22123,7 @@
0
0
0
+ 0
""
""
@@ -21793,6 +22197,7 @@
0
0
0
+ 0
""
""
""
@@ -21820,6 +22225,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -21844,6 +22250,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -21868,6 +22275,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -21936,6 +22344,7 @@
0
0
0
+ 0
""
""
@@ -21993,6 +22402,7 @@
0
0
0
+ 0
@@ -22018,6 +22428,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -22042,6 +22453,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -22073,6 +22485,7 @@
0
0
0
+ 0
"wxCheckBox: ID_RICHTEXT_BORDER_LEFT_CHECKBOX"
"dialog-control-document"
@@ -22134,6 +22547,7 @@
0
0
0
+ 0
""
""
@@ -22160,6 +22574,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_BORDER_LEFT"
@@ -22241,6 +22656,7 @@
0
0
0
+ 0
""
""
@@ -22306,6 +22722,7 @@
0
0
0
+ 0
""
""
@@ -22332,6 +22749,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -22396,6 +22814,7 @@
0
0
0
+ 0
""
""
@@ -22422,6 +22841,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -22491,6 +22911,7 @@
0
0
0
+ 0
""
""
""
@@ -22557,6 +22978,7 @@
0
0
0
+ 0
""
""
@@ -22583,6 +23005,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_BORDER_RIGHT"
@@ -22664,6 +23087,7 @@
0
0
0
+ 0
""
""
@@ -22729,6 +23153,7 @@
0
0
0
+ 0
""
""
@@ -22755,6 +23180,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -22819,6 +23245,7 @@
0
0
0
+ 0
""
""
@@ -22845,6 +23272,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -22914,6 +23342,7 @@
0
0
0
+ 0
""
""
""
@@ -22980,6 +23409,7 @@
0
0
0
+ 0
""
""
@@ -23006,6 +23436,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_BORDER_TOP"
@@ -23087,6 +23518,7 @@
0
0
0
+ 0
""
""
@@ -23152,6 +23584,7 @@
0
0
0
+ 0
""
""
@@ -23178,6 +23611,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -23242,6 +23676,7 @@
0
0
0
+ 0
""
""
@@ -23268,6 +23703,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -23337,6 +23773,7 @@
0
0
0
+ 0
""
""
""
@@ -23403,6 +23840,7 @@
0
0
0
+ 0
""
""
@@ -23429,6 +23867,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_BORDER_BOTTOM"
@@ -23510,6 +23949,7 @@
0
0
0
+ 0
""
""
@@ -23575,6 +24015,7 @@
0
0
0
+ 0
""
""
@@ -23601,6 +24042,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -23665,6 +24107,7 @@
0
0
0
+ 0
""
""
@@ -23691,6 +24134,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -23760,6 +24204,7 @@
0
0
0
+ 0
""
""
""
@@ -23841,6 +24286,7 @@
0
0
0
+ 0
""
""
""
@@ -23868,6 +24314,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -23892,6 +24339,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -23916,6 +24364,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -23984,6 +24433,7 @@
0
0
0
+ 0
""
""
@@ -24041,6 +24491,7 @@
0
0
0
+ 0
@@ -24066,6 +24517,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -24090,6 +24542,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -24121,6 +24574,7 @@
0
0
0
+ 0
"wxCheckBox: ID_RICHTEXT_OUTLINE_LEFT_CHECKBOX"
"dialog-control-document"
@@ -24182,6 +24636,7 @@
0
0
0
+ 0
""
""
@@ -24208,6 +24663,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_OUTLINE_LEFT"
@@ -24289,6 +24745,7 @@
0
0
0
+ 0
""
""
@@ -24354,6 +24811,7 @@
0
0
0
+ 0
""
""
@@ -24380,6 +24838,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -24444,6 +24903,7 @@
0
0
0
+ 0
""
""
@@ -24470,6 +24930,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -24539,6 +25000,7 @@
0
0
0
+ 0
""
""
""
@@ -24605,6 +25067,7 @@
0
0
0
+ 0
""
""
@@ -24631,6 +25094,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_OUTLINE_RIGHT"
@@ -24712,6 +25176,7 @@
0
0
0
+ 0
""
""
@@ -24777,6 +25242,7 @@
0
0
0
+ 0
""
""
@@ -24803,6 +25269,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -24867,6 +25334,7 @@
0
0
0
+ 0
""
""
@@ -24893,6 +25361,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -24962,6 +25431,7 @@
0
0
0
+ 0
""
""
""
@@ -25028,6 +25498,7 @@
0
0
0
+ 0
""
""
@@ -25054,6 +25525,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_OUTLINE_TOP"
@@ -25135,6 +25607,7 @@
0
0
0
+ 0
""
""
@@ -25200,6 +25673,7 @@
0
0
0
+ 0
""
""
@@ -25226,6 +25700,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -25290,6 +25765,7 @@
0
0
0
+ 0
""
""
@@ -25316,6 +25792,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -25385,6 +25862,7 @@
0
0
0
+ 0
""
""
""
@@ -25451,6 +25929,7 @@
0
0
0
+ 0
""
""
@@ -25477,6 +25956,7 @@
0
0
0
+ 0
"<Any platform>"
"wxTextCtrl: ID_RICHTEXT_OUTLINE_BOTTOM"
@@ -25558,6 +26038,7 @@
0
0
0
+ 0
""
""
@@ -25623,6 +26104,7 @@
0
0
0
+ 0
""
""
@@ -25649,6 +26131,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -25713,6 +26196,7 @@
0
0
0
+ 0
""
""
@@ -25739,6 +26223,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -25808,6 +26293,7 @@
0
0
0
+ 0
""
""
""
@@ -25885,6 +26371,7 @@
0
0
0
+ 0
""
""
""
@@ -25994,6 +26481,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer V"
@@ -26018,6 +26506,7 @@
0
0
0
+ 0
"<Any platform>"
"wxBoxSizer H"
@@ -26042,6 +26531,7 @@
0
0
0
+ 0
"<Any platform>"
"wxStaticText: wxID_STATIC"
@@ -26110,6 +26600,7 @@
0
0
0
+ 0
""
""
@@ -26167,6 +26658,7 @@
0
0
0
+ 0
@@ -26192,6 +26684,7 @@
0
0
0
+ 0
"<Any platform>"
"Spacer"
@@ -26216,6 +26709,7 @@
0
0
0
+ 0
"<Any platform>"
@@ -26278,6 +26772,7 @@
0
0
0
+ 0
""
""
@@ -26348,6 +26843,7 @@
0
0
0
+ 0
""
""
""
diff --git a/src/richtext/richtextsizepage.cpp b/src/richtext/richtextsizepage.cpp
index fda625d9fb..eb2b8a22bf 100644
--- a/src/richtext/richtextsizepage.cpp
+++ b/src/richtext/richtextsizepage.cpp
@@ -30,51 +30,28 @@ BEGIN_EVENT_TABLE( wxRichTextSizePage, wxRichTextDialogPage )
////@begin wxRichTextSizePage event table entries
EVT_UPDATE_UI( ID_RICHTEXT_VERTICAL_ALIGNMENT_COMBOBOX, wxRichTextSizePage::OnRichtextVerticalAlignmentComboboxUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_WIDTH, wxRichTextSizePage::OnRichtextWidthUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_UNITS_W, wxRichTextSizePage::OnRichtextWidthUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_HEIGHT, wxRichTextSizePage::OnRichtextHeightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_UNITS_H, wxRichTextSizePage::OnRichtextHeightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_MIN_WIDTH, wxRichTextSizePage::OnRichtextMinWidthUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_UNITS_MIN_W, wxRichTextSizePage::OnRichtextMinWidthUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_MIN_HEIGHT, wxRichTextSizePage::OnRichtextMinHeightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_UNITS_MIN_H, wxRichTextSizePage::OnRichtextMinHeightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_MAX_WIDTH, wxRichTextSizePage::OnRichtextMaxWidthUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_UNITS_MAX_W, wxRichTextSizePage::OnRichtextMaxWidthUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_MAX_HEIGHT, wxRichTextSizePage::OnRichtextMaxHeightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_UNITS_MAX_H, wxRichTextSizePage::OnRichtextMaxHeightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_LEFT, wxRichTextSizePage::OnRichtextLeftUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_LEFT_UNITS, wxRichTextSizePage::OnRichtextTopUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_TOP, wxRichTextSizePage::OnRichtextTopUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_TOP_UNITS, wxRichTextSizePage::OnRichtextTopUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_RIGHT, wxRichTextSizePage::OnRichtextRightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_RIGHT_UNITS, wxRichTextSizePage::OnRichtextRightUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_BOTTOM, wxRichTextSizePage::OnRichtextBottomUpdate )
-
EVT_UPDATE_UI( ID_RICHTEXT_BOTTOM_UNITS, wxRichTextSizePage::OnRichtextBottomUpdate )
-
EVT_BUTTON( ID_RICHTEXT_PARA_UP, wxRichTextSizePage::OnRichtextParaUpClick )
-
EVT_BUTTON( ID_RICHTEXT_PARA_DOWN, wxRichTextSizePage::OnRichtextParaDownClick )
-
////@end wxRichTextSizePage event table entries
END_EVENT_TABLE()
@@ -137,9 +114,10 @@ void wxRichTextSizePage::Init()
////@begin wxRichTextSizePage member initialisation
m_positionMode = 0;
m_parentSizer = NULL;
- m_floatingControls = NULL;
+ m_floatingAlignmentSizer = NULL;
+ m_floatingSizer = NULL;
m_float = NULL;
- m_alignmentControls = NULL;
+ m_alignmentSizer = NULL;
m_verticalAlignmentCheckbox = NULL;
m_verticalAlignmentComboBox = NULL;
m_widthCheckbox = NULL;
@@ -162,7 +140,9 @@ void wxRichTextSizePage::Init()
m_unitsMaxH = NULL;
m_positionControls = NULL;
m_moveObjectParentSizer = NULL;
+ m_positionModeSizer = NULL;
m_positionModeCtrl = NULL;
+ m_positionGridSizer = NULL;
m_positionLeftCheckbox = NULL;
m_left = NULL;
m_unitsLeft = NULL;
@@ -170,9 +150,11 @@ void wxRichTextSizePage::Init()
m_top = NULL;
m_unitsTop = NULL;
m_positionRightCheckbox = NULL;
+ m_rightPositionSizer = NULL;
m_right = NULL;
m_unitsRight = NULL;
m_positionBottomCheckbox = NULL;
+ m_bottomPositionSizer = NULL;
m_bottom = NULL;
m_unitsBottom = NULL;
m_moveObjectSizer = NULL;
@@ -195,14 +177,14 @@ void wxRichTextSizePage::CreateControls()
m_parentSizer = new wxBoxSizer(wxVERTICAL);
itemBoxSizer2->Add(m_parentSizer, 0, wxGROW|wxALL, 5);
- wxBoxSizer* itemBoxSizer4 = new wxBoxSizer(wxHORIZONTAL);
- m_parentSizer->Add(itemBoxSizer4, 0, wxGROW, 5);
+ m_floatingAlignmentSizer = new wxBoxSizer(wxHORIZONTAL);
+ m_parentSizer->Add(m_floatingAlignmentSizer, 0, wxGROW, 5);
- m_floatingControls = new wxBoxSizer(wxVERTICAL);
- itemBoxSizer4->Add(m_floatingControls, 1, wxALIGN_CENTER_VERTICAL, 5);
+ m_floatingSizer = new wxBoxSizer(wxVERTICAL);
+ m_floatingAlignmentSizer->Add(m_floatingSizer, 1, wxALIGN_CENTER_VERTICAL, 5);
wxBoxSizer* itemBoxSizer6 = new wxBoxSizer(wxHORIZONTAL);
- m_floatingControls->Add(itemBoxSizer6, 0, wxGROW, 5);
+ m_floatingSizer->Add(itemBoxSizer6, 0, wxGROW, 5);
wxStaticText* itemStaticText7 = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("Floating"), wxDefaultPosition, wxDefaultSize, 0 );
itemStaticText7->SetFont(wxFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetPointSize(), wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetFamily(), wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetStyle(), wxBOLD, false, wxT("")));
@@ -212,7 +194,7 @@ void wxRichTextSizePage::CreateControls()
itemBoxSizer6->Add(itemStaticLine8, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
wxBoxSizer* itemBoxSizer9 = new wxBoxSizer(wxHORIZONTAL);
- m_floatingControls->Add(itemBoxSizer9, 0, wxGROW, 5);
+ m_floatingSizer->Add(itemBoxSizer9, 0, wxGROW, 5);
itemBoxSizer9->Add(5, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
@@ -233,11 +215,11 @@ void wxRichTextSizePage::CreateControls()
m_float->SetToolTip(_("How the object will float relative to the text."));
itemFlexGridSizer11->Add(m_float, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
- m_alignmentControls = new wxBoxSizer(wxVERTICAL);
- itemBoxSizer4->Add(m_alignmentControls, 1, wxALIGN_CENTER_VERTICAL, 5);
+ m_alignmentSizer = new wxBoxSizer(wxVERTICAL);
+ m_floatingAlignmentSizer->Add(m_alignmentSizer, 1, wxALIGN_CENTER_VERTICAL, 5);
wxBoxSizer* itemBoxSizer15 = new wxBoxSizer(wxHORIZONTAL);
- m_alignmentControls->Add(itemBoxSizer15, 0, wxGROW, 5);
+ m_alignmentSizer->Add(itemBoxSizer15, 0, wxGROW, 5);
wxStaticText* itemStaticText16 = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("Alignment"), wxDefaultPosition, wxDefaultSize, 0 );
itemStaticText16->SetFont(wxFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetPointSize(), wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetFamily(), wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT).GetStyle(), wxBOLD, false, wxT("")));
@@ -247,7 +229,7 @@ void wxRichTextSizePage::CreateControls()
itemBoxSizer15->Add(itemStaticLine17, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
wxBoxSizer* itemBoxSizer18 = new wxBoxSizer(wxHORIZONTAL);
- m_alignmentControls->Add(itemBoxSizer18, 0, wxGROW, 5);
+ m_alignmentSizer->Add(itemBoxSizer18, 0, wxGROW, 5);
itemBoxSizer18->Add(5, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
@@ -470,11 +452,11 @@ void wxRichTextSizePage::CreateControls()
m_moveObjectParentSizer = new wxBoxSizer(wxVERTICAL);
itemBoxSizer56->Add(m_moveObjectParentSizer, 0, wxALIGN_TOP, 5);
- wxBoxSizer* itemBoxSizer59 = new wxBoxSizer(wxHORIZONTAL);
- m_moveObjectParentSizer->Add(itemBoxSizer59, 0, wxALIGN_LEFT, 5);
+ m_positionModeSizer = new wxBoxSizer(wxHORIZONTAL);
+ m_moveObjectParentSizer->Add(m_positionModeSizer, 0, wxALIGN_LEFT, 5);
wxStaticText* itemStaticText60 = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("&Position mode:"), wxDefaultPosition, wxDefaultSize, 0 );
- itemBoxSizer59->Add(itemStaticText60, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+ m_positionModeSizer->Add(itemStaticText60, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
wxArrayString m_positionModeCtrlStrings;
m_positionModeCtrlStrings.Add(_("Static"));
@@ -483,20 +465,20 @@ void wxRichTextSizePage::CreateControls()
m_positionModeCtrlStrings.Add(_("Fixed"));
m_positionModeCtrl = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXT_POSITION_MODE, _("Static"), wxDefaultPosition, wxDefaultSize, m_positionModeCtrlStrings, wxCB_READONLY );
m_positionModeCtrl->SetStringSelection(_("Static"));
- itemBoxSizer59->Add(m_positionModeCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+ m_positionModeSizer->Add(m_positionModeCtrl, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
- wxFlexGridSizer* itemFlexGridSizer62 = new wxFlexGridSizer(0, 4, 0, 0);
- m_moveObjectParentSizer->Add(itemFlexGridSizer62, 0, wxGROW, 5);
+ m_positionGridSizer = new wxFlexGridSizer(0, 4, 0, 0);
+ m_moveObjectParentSizer->Add(m_positionGridSizer, 0, wxGROW, 5);
m_positionLeftCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_LEFT_CHECKBOX, _("&Left:"), wxDefaultPosition, wxDefaultSize, 0 );
m_positionLeftCheckbox->SetValue(false);
m_positionLeftCheckbox->SetHelpText(_("The left position."));
if (wxRichTextSizePage::ShowToolTips())
m_positionLeftCheckbox->SetToolTip(_("The left position."));
- itemFlexGridSizer62->Add(m_positionLeftCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+ m_positionGridSizer->Add(m_positionLeftCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
wxBoxSizer* itemBoxSizer64 = new wxBoxSizer(wxHORIZONTAL);
- itemFlexGridSizer62->Add(itemBoxSizer64, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+ m_positionGridSizer->Add(itemBoxSizer64, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
m_left = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_LEFT, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
m_left->SetMaxLength(10);
@@ -521,10 +503,10 @@ void wxRichTextSizePage::CreateControls()
m_positionTopCheckbox->SetHelpText(_("The top position."));
if (wxRichTextSizePage::ShowToolTips())
m_positionTopCheckbox->SetToolTip(_("The top position."));
- itemFlexGridSizer62->Add(m_positionTopCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+ m_positionGridSizer->Add(m_positionTopCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
wxBoxSizer* itemBoxSizer68 = new wxBoxSizer(wxHORIZONTAL);
- itemFlexGridSizer62->Add(itemBoxSizer68, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+ m_positionGridSizer->Add(itemBoxSizer68, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
m_top = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_TOP, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
m_top->SetMaxLength(10);
@@ -549,17 +531,17 @@ void wxRichTextSizePage::CreateControls()
m_positionRightCheckbox->SetHelpText(_("The right position."));
if (wxRichTextSizePage::ShowToolTips())
m_positionRightCheckbox->SetToolTip(_("The right position."));
- itemFlexGridSizer62->Add(m_positionRightCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+ m_positionGridSizer->Add(m_positionRightCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
- wxBoxSizer* itemBoxSizer72 = new wxBoxSizer(wxHORIZONTAL);
- itemFlexGridSizer62->Add(itemBoxSizer72, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+ m_rightPositionSizer = new wxBoxSizer(wxHORIZONTAL);
+ m_positionGridSizer->Add(m_rightPositionSizer, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
m_right = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_RIGHT, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
m_right->SetMaxLength(10);
m_right->SetHelpText(_("The right position."));
if (wxRichTextSizePage::ShowToolTips())
m_right->SetToolTip(_("The right position."));
- itemBoxSizer72->Add(m_right, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+ m_rightPositionSizer->Add(m_right, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
wxArrayString m_unitsRightStrings;
m_unitsRightStrings.Add(_("px"));
@@ -570,24 +552,24 @@ void wxRichTextSizePage::CreateControls()
m_unitsRight->SetHelpText(_("Units for the right position."));
if (wxRichTextSizePage::ShowToolTips())
m_unitsRight->SetToolTip(_("Units for the right position."));
- itemBoxSizer72->Add(m_unitsRight, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+ m_rightPositionSizer->Add(m_unitsRight, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_positionBottomCheckbox = new wxCheckBox( itemRichTextDialogPage1, ID_RICHTEXT_BOTTOM_CHECKBOX, _("&Bottom:"), wxDefaultPosition, wxDefaultSize, 0 );
m_positionBottomCheckbox->SetValue(false);
m_positionBottomCheckbox->SetHelpText(_("The bottom position."));
if (wxRichTextSizePage::ShowToolTips())
m_positionBottomCheckbox->SetToolTip(_("The bottom position."));
- itemFlexGridSizer62->Add(m_positionBottomCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+ m_positionGridSizer->Add(m_positionBottomCheckbox, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
- wxBoxSizer* itemBoxSizer76 = new wxBoxSizer(wxHORIZONTAL);
- itemFlexGridSizer62->Add(itemBoxSizer76, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
+ m_bottomPositionSizer = new wxBoxSizer(wxHORIZONTAL);
+ m_positionGridSizer->Add(m_bottomPositionSizer, 0, wxGROW|wxALIGN_CENTER_VERTICAL, 5);
m_bottom = new wxTextCtrl( itemRichTextDialogPage1, ID_RICHTEXT_BOTTOM, wxEmptyString, wxDefaultPosition, wxSize(65, -1), 0 );
m_bottom->SetMaxLength(10);
m_bottom->SetHelpText(_("The bottom position."));
if (wxRichTextSizePage::ShowToolTips())
m_bottom->SetToolTip(_("The bottom position."));
- itemBoxSizer76->Add(m_bottom, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
+ m_bottomPositionSizer->Add(m_bottom, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP|wxBOTTOM, 5);
wxArrayString m_unitsBottomStrings;
m_unitsBottomStrings.Add(_("px"));
@@ -598,7 +580,7 @@ void wxRichTextSizePage::CreateControls()
m_unitsBottom->SetHelpText(_("Units for the bottom position."));
if (wxRichTextSizePage::ShowToolTips())
m_unitsBottom->SetToolTip(_("Units for the bottom position."));
- itemBoxSizer76->Add(m_unitsBottom, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
+ m_bottomPositionSizer->Add(m_unitsBottom, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
m_moveObjectSizer = new wxBoxSizer(wxHORIZONTAL);
m_moveObjectParentSizer->Add(m_moveObjectSizer, 0, wxGROW, 5);
@@ -783,12 +765,55 @@ void wxRichTextSizePage::ShowPositionControls(bool show)
}
}
-// Show/hide floating controls
-void wxRichTextSizePage::ShowFloatingControls(bool show)
+// Show/hide floating and alignment controls
+void wxRichTextSizePage::ShowFloatingAndAlignmentControls(bool show)
{
if (m_parentSizer)
{
- m_parentSizer->Show(m_floatingControls, show);
+ 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();
}
}