-bool wxTabCtrl::MSWNotify(const WXWPARAM wParam, const WXLPARAM lParam)
-{
- wxTabEvent event(wxEVT_NULL, m_windowId);
- wxEventType eventType = wxEVT_NULL;
- 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;
- }