Interface tweaks for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2012-06-20 17:10:23 +00:00
parent 372d999e64
commit e1b7217e23
7 changed files with 88 additions and 0 deletions

View File

@ -31,6 +31,17 @@ enum
wxBK_HITTEST_ONPAGE = 8
};
/**
wxBookCtrl flags (common for wxNotebook, wxListbook, wxChoicebook, wxTreebook)
*/
#define wxBK_DEFAULT 0x0000
#define wxBK_TOP 0x0010
#define wxBK_BOTTOM 0x0020
#define wxBK_LEFT 0x0040
#define wxBK_RIGHT 0x0080
#define wxBK_ALIGN_MASK (wxBK_TOP | wxBK_BOTTOM | wxBK_LEFT | wxBK_RIGHT)
/**
@class wxBookCtrlBase

View File

@ -6,6 +6,18 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// wxChoicebook flags
#define wxCHB_DEFAULT wxBK_DEFAULT
#define wxCHB_TOP wxBK_TOP
#define wxCHB_BOTTOM wxBK_BOTTOM
#define wxCHB_LEFT wxBK_LEFT
#define wxCHB_RIGHT wxBK_RIGHT
#define wxCHB_ALIGN_MASK wxBK_ALIGN_MASK
wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING;
/**
@class wxChoicebook
@ -66,6 +78,18 @@ public:
const wxString& name = wxEmptyString);
//@}
/**
Create the choicebook control that has already been constructed with
the default constructor.
*/
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxEmptyString);
/**
Returns the wxChoice associated with the control.
*/

View File

@ -35,6 +35,9 @@
class wxFontEnumerator
{
public:
wxFontEnumerator();
virtual ~wxFontEnumerator();
/**
Call OnFontEncoding() for each encoding supported by the given font -
or for each encoding supported by at least some font if @a font is not specified.

View File

@ -6,6 +6,17 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// wxListbook flags
#define wxLB_DEFAULT wxBK_DEFAULT
#define wxLB_TOP wxBK_TOP
#define wxLB_BOTTOM wxBK_BOTTOM
#define wxLB_LEFT wxBK_LEFT
#define wxLB_RIGHT wxBK_RIGHT
#define wxLB_ALIGN_MASK wxBK_ALIGN_MASK
wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING;
/**
@class wxListbook
@ -67,6 +78,17 @@ public:
long style = 0,
const wxString& name = wxEmptyString);
/**
Create the list book control that has already been constructed with
the default constructor.
*/
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxEmptyString);
/**
Returns the wxListView associated with the control.
*/

View File

@ -26,6 +26,10 @@ enum
#define wxNB_NOPAGETHEME 0x0400
#define wxNB_FLAT 0x0800
wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING;
/**
@class wxNotebook

View File

@ -6,6 +6,13 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#define wxTBK_BUTTONBAR 0x0100
#define wxTBK_HORZ_LAYOUT 0x8000
wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING;
/**
@class wxToolbook
@ -61,6 +68,17 @@ public:
const wxString& name = wxEmptyString);
//@}
/**
Create the tool book control that has already been constructed with
the default constructor.
*/
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxEmptyString);
/**
Returns the wxToolBarBase associated with the control.
*/

View File

@ -6,6 +6,12 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxEventType wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED;
wxEventType wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING;
wxEventType wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED;
wxEventType wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED;
/**
@class wxTreebook