Added points to the units for editing border widths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -224,14 +224,16 @@ public:
|
||||
/// Determines whether tooltips will be shown
|
||||
static void SetShowToolTips(bool show) { sm_showToolTips = show; }
|
||||
|
||||
/// Set the dimension into the value and units controls
|
||||
static void SetDimensionValue(wxTextAttrDimension& dim, wxTextCtrl* valueCtrl, wxComboBox* unitsCtrl, wxCheckBox* checkBox);
|
||||
/// Set the dimension into the value and units controls. Optionally pass units to
|
||||
/// specify the ordering of units in the combobox.
|
||||
static void SetDimensionValue(wxTextAttrDimension& dim, wxTextCtrl* valueCtrl, wxComboBox* unitsCtrl, wxCheckBox* checkBox, wxArrayInt* units = NULL);
|
||||
|
||||
/// Get the dimension from the value and units controls
|
||||
static void GetDimensionValue(wxTextAttrDimension& dim, wxTextCtrl* valueCtrl, wxComboBox* unitsCtrl, wxCheckBox* checkBox);
|
||||
/// Get the dimension from the value and units controls Optionally pass units to
|
||||
/// specify the ordering of units in the combobox.
|
||||
static void GetDimensionValue(wxTextAttrDimension& dim, wxTextCtrl* valueCtrl, wxComboBox* unitsCtrl, wxCheckBox* checkBox, wxArrayInt* units = NULL);
|
||||
|
||||
/// Convert CM to MM
|
||||
static bool ConvertFromString(const wxString& string, int& ret, int scale);
|
||||
/// Convert from a string to a dimension integer.
|
||||
static bool ConvertFromString(const wxString& str, int& ret, int unit);
|
||||
|
||||
/// Map book control page index to our page id
|
||||
void AddPageId(int id) { m_pageIds.Add(id); }
|
||||
|
Reference in New Issue
Block a user