]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tabctrl.cpp
Fix of memory leak with generic file dialog (Patch #1017938)
[wxWidgets.git] / src / msw / tabctrl.cpp
index acbfd871c497441f253c5f064ca0697cbed87351..4beff0f31d4ff0f1af9e6bcfa28c01f9f546b989 100644 (file)
@@ -129,7 +129,7 @@ wxTabCtrl::~wxTabCtrl()
 bool wxTabCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
 {
     wxTabEvent event(wxEVT_NULL, m_windowId);
-    wxEventType eventType = wxEVT_NULL;
+    wxEventType eventType wxDUMMY_INITIALIZE(wxEVT_NULL);
     NMHDR* hdr1 = (NMHDR*) lParam;
     switch ( hdr1->code )
     {