Added OnEraseBackground to wxNotebook on wxMSW to avoid black background;

wxTreeCtrl mod for BC++


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-10-26 18:34:17 +00:00
parent 0b4d4194a2
commit a7e594b239
4 changed files with 20 additions and 1 deletions

View File

@@ -63,6 +63,7 @@
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()
@@ -476,3 +477,9 @@ void wxNotebook::ChangePage(int nOldSel, int nSel)
m_nSelection = nSel;
}
void wxNotebook::OnEraseBackground(wxEraseEvent& event)
{
Default();
}