X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc8bc5aa9cd14c158de637acb9e5ed8beb066d57..8ea30e360315c0a50d3049013a95471f7d941daf:/include/wx/generic/propdlg.h diff --git a/include/wx/generic/propdlg.h b/include/wx/generic/propdlg.h index 6ecb9ec47c..6ff7e48759 100644 --- a/include/wx/generic/propdlg.h +++ b/include/wx/generic/propdlg.h @@ -66,6 +66,9 @@ class WXDLLEXPORT wxBookCtrlBase; // Shrink dialog to fit current page #define wxPROPSHEET_SHRINKTOFIT 0x0100 +// Use a wxButtonToolBar toolbook +#define wxPROPSHEET_BUTTONTOOLBOOK 0x0200 + class WXDLLIMPEXP_ADV wxPropertySheetDialog : public wxDialog { public: @@ -103,6 +106,14 @@ public: void SetSheetStyle(long sheetStyle) { m_sheetStyle = sheetStyle; } long GetSheetStyle() const { return m_sheetStyle ; } + // Set and get the border around the whole dialog + void SetSheetOuterBorder(int border) { m_sheetOuterBorder = border; } + int GetSheetOuterBorder() const { return m_sheetOuterBorder ; } + + // Set and get the border around the book control only + void SetSheetInnerBorder(int border) { m_sheetInnerBorder = border; } + int GetSheetInnerBorder() const { return m_sheetInnerBorder ; } + /// Operations // Creates the buttons (none on PocketPC) @@ -133,6 +144,8 @@ protected: wxBookCtrlBase* m_bookCtrl; wxSizer* m_innerSizer; // sizer for extra space long m_sheetStyle; + int m_sheetOuterBorder; + int m_sheetInnerBorder; int m_selectedPage; DECLARE_DYNAMIC_CLASS(wxPropertySheetDialog)