Added Set/GetFloatingLayoutMode to switch off time-consuming floating object layout if required

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2013-01-14 16:19:45 +00:00
parent 880d76dfb1
commit e12b91a306
3 changed files with 76 additions and 32 deletions

View File

@@ -5244,6 +5244,19 @@ public:
*/
void SetScale(double scale) { m_scale = scale; }
/**
Returns the floating layout mode. The default is @true, where objects
are laid out according to their floating status.
*/
static bool GetFloatingLayoutMode();
/**
Sets the floating layout mode. Pass @false to speed up editing by not performing
floating layout. This setting affects all buffers.
*/
static void SetFloatingLayoutMode(bool mode);
protected:
/// Command processor