Added wxTreeCtrl::SetItemDropHighlight (wxMSW only);
added WS_CLIPCHILDREN style to wxNotebook. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -591,17 +591,16 @@ typedef void (*wxFunction) (wxObject&, wxEvent&);
|
||||
* wxTabCtrl flags
|
||||
*/
|
||||
|
||||
#define wxTAB_MULTILINE 0x0000
|
||||
#define wxTAB_RIGHTJUSTIFY 0x0004
|
||||
#define wxTAB_FIXEDWIDTH 0x0008
|
||||
#define wxTAB_OWNERDRAW 0x0010
|
||||
|
||||
// Sorry, I changed my mind about these names...
|
||||
#define wxTC_MULTILINE 0x0000
|
||||
#define wxTC_RIGHTJUSTIFY 0x0004
|
||||
#define wxTC_FIXEDWIDTH 0x0008
|
||||
#define wxTC_OWNERDRAW 0x0010
|
||||
|
||||
/*
|
||||
* wxNotebook flags
|
||||
*/
|
||||
#define wxNB_FIXEDWIDTH 0x0008
|
||||
|
||||
/*
|
||||
* wxStatusBar95 flags
|
||||
*/
|
||||
|
@@ -166,6 +166,10 @@ public:
|
||||
// get the panel which represents the given page
|
||||
wxNotebookPage *GetPage(int nPage) { return m_aPages[nPage]; }
|
||||
|
||||
// Windows-only at present. Also, you must use the wxNB_FIXEDWIDTH
|
||||
// style.
|
||||
void SetTabSize(const wxSize& sz);
|
||||
|
||||
// callbacks
|
||||
// ---------
|
||||
void OnSize(wxSizeEvent& event);
|
||||
|
@@ -253,6 +253,9 @@ public:
|
||||
// the item will be shown in bold
|
||||
void SetItemBold(const wxTreeItemId& item, bool bold = TRUE);
|
||||
|
||||
// the item will be shown with a drop highlight
|
||||
void SetItemDropHighlight(const wxTreeItemId& item, bool highlight = TRUE);
|
||||
|
||||
// item status inquiries
|
||||
// ---------------------
|
||||
|
||||
|
Reference in New Issue
Block a user