EVT_NAVIGATION_KEY(wxNotebook::OnNavigationKey)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxNotebook, wxBookCtrlBase)
-
// ============================================================================
// implementation
// ============================================================================
//
void wxNotebook::Init()
{
- m_imageList = NULL;
m_nTabSize = 0;
} // end of wxNotebook::Init
if (nPage != (size_t)m_selection)
{
- wxBookCtrlEvent vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
+ wxBookCtrlEvent vEvent( wxEVT_NOTEBOOK_PAGE_CHANGING
,m_windowId
);
//
// Program allows the page change
//
- vEvent.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED);
+ vEvent.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGED);
HandleWindowEvent(vEvent);
::WinSendMsg( GetHWND()
, int nImage
)
{
- wxBitmap vBitmap = (wxBitmap)m_imageList->GetBitmap(nImage);
+ wxBitmap vBitmap = (wxBitmap)GetImageList()->GetBitmap(nImage);
return (bool)::WinSendMsg( GetHWND()
,BKM_SETTABBITMAP