- 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;
- break;
-
- case TCN_SELCHANGING:
- eventType = wxEVT_COMMAND_TAB_SEL_CHANGING;
- break;
+ wxTabEvent event(wxEVT_NULL, m_windowId);
+ wxEventType eventType wxDUMMY_INITIALIZE(wxEVT_NULL);
+ NMHDR* hdr1 = (NMHDR*) lParam;
+ switch ( hdr1->code )
+ {
+ case TCN_SELCHANGE:
+ eventType = wxEVT_COMMAND_TAB_SEL_CHANGED;
+ break;
+
+ case TCN_SELCHANGING:
+ eventType = wxEVT_COMMAND_TAB_SEL_CHANGING;
+ break;