-bool wxTabCtrl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam)
-{
- wxTabEvent event(0, m_windowId);
- int eventType = 0;
- NMHDR* hdr1 = (NMHDR*) lParam;
- switch ( hdr1->code )
- {
- case TCN_SELCHANGE:
- {
- eventType = wxEVT_COMMAND_TAB_SEL_CHANGED;
- event.SetInt( (int) LOWORD(wParam) ) ;
- break;
- }
- case TCN_SELCHANGING:
- {
- eventType = wxEVT_COMMAND_TAB_SEL_CHANGING;
- event.SetInt( (int) LOWORD(wParam) ) ;
- break;
- }