Removed rounding that didn't work for negative numbers; added ability to hide "move object" controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -257,6 +257,7 @@ protected:
|
||||
wxRichTextObject* m_object;
|
||||
wxArrayInt m_pageIds; // mapping of book control indexes to page ids
|
||||
int m_options; // UI options
|
||||
bool m_ignoreUpdates;
|
||||
|
||||
static wxRichTextFormattingDialogFactory* ms_FormattingDialogFactory;
|
||||
static bool sm_showToolTips;
|
||||
|
@@ -103,6 +103,9 @@ public:
|
||||
/// Enable the checkboxes for position and size
|
||||
static void EnablePositionAndSizeCheckboxes(bool enable) { sm_enablePositionAndSizeCheckboxes = enable; }
|
||||
|
||||
/// Enable the move object controls
|
||||
static void ShowMoveObjectControls(bool enable) { sm_showMoveObjectControls = enable; }
|
||||
|
||||
////@begin wxRichTextSizePage event handler declarations
|
||||
|
||||
/// wxEVT_UPDATE_UI event handler for ID_RICHTEXT_VERTICAL_ALIGNMENT_COMBOBOX
|
||||
@@ -294,6 +297,7 @@ public:
|
||||
static bool sm_showFloatingAndAlignmentControls;
|
||||
static bool sm_enablePositionAndSizeUnits;
|
||||
static bool sm_enablePositionAndSizeCheckboxes;
|
||||
static bool sm_showMoveObjectControls;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user