wxTreeCtrl mod for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@921
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
samples/tab/*.ico
samples/tab/*.txt
+samples/notebook/*.cpp
+samples/notebook/*.h
+samples/notebook/makefile*
+samples/notebook/*.rc
+samples/notebook/*.def
+samples/notebook/*.bmp
+samples/notebook/*.xbm
+samples/notebook/*.xpm
+samples/notebook/*.ico
+samples/notebook/*.txt
+
samples/png/*.cpp
samples/png/*.h
samples/png/makefile*
void OnSelChange(wxNotebookEvent& event);
void OnSetFocus(wxFocusEvent& event);
void OnNavigationKey(wxNavigationKeyEvent& event);
+ void OnEraseBackground(wxEraseEvent& event);
// base class virtuals
// -------------------
// accessors: set/get the item associated with this node
void SetId(const wxTreeItemId& id) { m_itemId = id; }
- const wxTreeItemId& GetId() const { return m_itemId; }
+ const wxTreeItemId& GetId() const { return (wxTreeItemId&) m_itemId; }
};
// ----------------------------------------------------------------------------
EVT_NOTEBOOK_PAGE_CHANGED(-1, wxNotebook::OnSelChange)
EVT_SIZE(wxNotebook::OnSize)
+ EVT_ERASE_BACKGROUND(wxNotebook::OnEraseBackground)
EVT_SET_FOCUS(wxNotebook::OnSetFocus)
EVT_NAVIGATION_KEY(wxNotebook::OnNavigationKey)
END_EVENT_TABLE()
m_nSelection = nSel;
}
+
+void wxNotebook::OnEraseBackground(wxEraseEvent& event)
+{
+ Default();
+}
+