]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
make --static flag act on --cppflags too.
[wxWidgets.git] / src / msw / treectrl.cpp
index f28128839136c9f32d652c8464b1c444842ef698..f6dab4428b734f8c276cdbf6c14a73a2cdd69e14 100644 (file)
@@ -2105,7 +2105,9 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
                 // don't have access to the real key press flags here - but as
                 // it is only used to determin wxKeyEvent::m_altDown flag it's
                 // not too bad
-                event.m_evtKey = CreateKeyEvent(wxEVT_KEY_DOWN, info->wVKey, 0);
+                event.m_evtKey = CreateKeyEvent(wxEVT_KEY_DOWN,
+                                                wxCharCodeMSWToWX(info->wVKey),
+                                                0);
 
                 // a separate event for Space/Return
                 if ( !wxIsCtrlDown() && !wxIsShiftDown() &&