/////////////////////////////////////////////////////////////////////////////
// Name: propdlg.h
-// Purpose: documentation for wxPropertySheetDialog class
+// Purpose: interface of wxPropertySheetDialog
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
wxDialog::CreateButtonSizer, and
the flags are the same. On PocketPC, no buttons are created.
*/
- void CreateButtons(int flags=wxOK|wxCANCEL);
+ void CreateButtons(int flags = wxOK|wxCANCEL);
/**
Returns the book control that will contain your settings pages.
*/
- wxBookCtrlBase* GetBookCtrl();
+ wxBookCtrlBase* GetBookCtrl() const;
/**
Returns the inner sizer that contains the book control and button sizer.
*/
- wxSizer* GetInnerSizer();
+ wxSizer* GetInnerSizer() const;
/**
Returns the sheet style. See SetSheetStyle() for
permissable values.
*/
- long GetSheetStyle();
+ long GetSheetStyle() const;
/**
Call this to lay out the dialog. On PocketPC, this does nothing, since the
dialog will be shown
full-screen, and the layout will be done when the dialog receives a size event.
*/
- void LayoutDialog(int centreFlags=wxBOTH);
+ void LayoutDialog(int centreFlags = wxBOTH);
/**
Sets the book control used for the dialog. You will normally not need to use
You can customize the look and feel of the dialog by setting the sheet style.
It is
a bit list of the following values:
-
-
+
wxPROPSHEET_DEFAULT
-
-
+
Uses the default look and feel for the controller window,
normally a notebook except on Smartphone where a choice control is used.
-
+
wxPROPSHEET_NOTEBOOK
-
-
+
Uses a notebook for the controller window.
-
+
wxPROPSHEET_TOOLBOOK
-
-
+
Uses a toolbook for the controller window.
-
+
wxPROPSHEET_CHOICEBOOK
-
-
+
Uses a choicebook for the controller window.
-
+
wxPROPSHEET_LISTBOOK
-
-
+
Uses a listbook for the controller window.
-
+
wxPROPSHEET_TREEBOOK
-
-
+
Uses a treebook for the controller window.
-
+
wxPROPSHEET_SHRINKTOFIT
-
-
+
Shrinks the dialog window to fit the currently selected page (common behaviour
for
property sheets on Mac OS X).
*/
void SetSheetStyle(long style);
};
+