The wxRTC formatting dialog now retains custom colours set within the colour dialog, and they can be accessed by the application.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2014-08-28 08:28:08 +00:00
parent 1cef1d91e5
commit f65b2f589f
3 changed files with 47 additions and 2 deletions

View File

@@ -275,5 +275,35 @@ public:
Updates the display.
*/
virtual bool UpdateDisplay();
/**
Returns @true if the dialog will restore the last-selected page.
*/
static bool GetRestoreLastPage();
/**
Pass @true if the dialog should restore the last-selected page.
*/
static void SetRestoreLastPage(bool b);
/**
Returns the page identifier of the last page selected (not the control id).
*/
static int GetLastPage();
/**
Sets the page identifier of the last page selected (not the control id).
*/
static void SetLastPage(int lastPage);
/**
Sets the custom colour data for use by the colour dialog.
*/
static void SetColourData(const wxColourData& colourData);
/**
Returns the custom colour data for use by the colour dialog.
*/
static wxColourData GetColourData();
};