Add missing wxPropertySheetDialog methods and fix a typo.

This commit is contained in:
Robin Dunn
2016-09-30 13:44:38 -07:00
parent ec0a91464e
commit 6b335c8ca4
2 changed files with 37 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ public:
virtual wxWindow* GetContentWindow() const wxOVERRIDE; virtual wxWindow* GetContentWindow() const wxOVERRIDE;
// Set and get the inner sizer // Set and get the inner sizer
void SetInnerSize(wxSizer* sizer) { m_innerSizer = sizer; } void SetInnerSizer(wxSizer* sizer) { m_innerSizer = sizer; }
wxSizer* GetInnerSizer() const { return m_innerSizer ; } wxSizer* GetInnerSizer() const { return m_innerSizer ; }
// Set and get the book style // Set and get the book style

View File

@@ -107,6 +107,11 @@ enum wxPropertySheetDialogFlags
class wxPropertySheetDialog : public wxDialog class wxPropertySheetDialog : public wxDialog
{ {
public: public:
/**
Default constructor. Call Create if using this form of constructor.
*/
wxPropertySheetDialog();
/** /**
Constructor. Constructor.
*/ */
@@ -159,6 +164,11 @@ public:
*/ */
wxSizer* GetInnerSizer() const; wxSizer* GetInnerSizer() const;
/**
Set the inner sizer that contains the book control and button sizer.
*/
void SetInnerSizer(wxSizer* sizer);
/** /**
Returns the sheet style. Returns the sheet style.
@@ -186,5 +196,31 @@ public:
It is a bit list of the ::wxPropertySheetDialogFlags values. It is a bit list of the ::wxPropertySheetDialogFlags values.
*/ */
void SetSheetStyle(long style); void SetSheetStyle(long style);
/**
Set the border around the whole dialog
*/
void SetSheetOuterBorder(int border);
/**
Returns the border around the whole dialog
*/
int GetSheetOuterBorder() const;
/**
Set the border around the book control only.
*/
void SetSheetInnerBorder(int border);
/**
Returns the border around the book control only.
*/
int GetSheetInnerBorder() const;
virtual wxWindow* GetContentWindow() const;
}; };