From 6b335c8ca440a7adea8309c2272b53aaff59f526 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 30 Sep 2016 13:44:38 -0700 Subject: [PATCH] Add missing wxPropertySheetDialog methods and fix a typo. --- include/wx/generic/propdlg.h | 2 +- interface/wx/propdlg.h | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/include/wx/generic/propdlg.h b/include/wx/generic/propdlg.h index 5072dfdf0a..eacc73e1b6 100644 --- a/include/wx/generic/propdlg.h +++ b/include/wx/generic/propdlg.h @@ -106,7 +106,7 @@ public: virtual wxWindow* GetContentWindow() const wxOVERRIDE; // 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 ; } // Set and get the book style diff --git a/interface/wx/propdlg.h b/interface/wx/propdlg.h index 06706f46a8..9593e88a4f 100644 --- a/interface/wx/propdlg.h +++ b/interface/wx/propdlg.h @@ -107,6 +107,11 @@ enum wxPropertySheetDialogFlags class wxPropertySheetDialog : public wxDialog { public: + /** + Default constructor. Call Create if using this form of constructor. + */ + wxPropertySheetDialog(); + /** Constructor. */ @@ -159,6 +164,11 @@ public: */ wxSizer* GetInnerSizer() const; + /** + Set the inner sizer that contains the book control and button sizer. + */ + void SetInnerSizer(wxSizer* sizer); + /** Returns the sheet style. @@ -186,5 +196,31 @@ public: It is a bit list of the ::wxPropertySheetDialogFlags values. */ 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; + };