]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
Make all instances of HasEditorCtrl() const, not just a few
[wxWidgets.git] / include / wx / msw / treectrl.h
index a2a86df75a37e6cda6162dc62596e1b76a489fe8..99b1a61a9ebe369448c2e7c3f2cbcbfd218ea2b8 100644 (file)
@@ -244,10 +244,16 @@ protected:
         return !HandleTreeEvent(event) || event.IsAllowed();
     }
 
-    // handle a key event in a multi-selection control
+    // generate a wxEVT_KEY_DOWN event from the specified WPARAM/LPARAM values
+    // having the same meaning as for WM_KEYDOWN, return true if it was
+    // processed
+    bool MSWHandleTreeKeyDownEvent(WXWPARAM wParam, WXLPARAM lParam);
+
+    // handle a key event in a multi-selection control, should be only called
+    // for keys which can be used to change the selection
     //
     // return true if the key was processed, false otherwise
-    bool MSWHandleSelectionKey(WPARAM vkey);
+    bool MSWHandleSelectionKey(unsigned vkey);
 
 
     // data used only while editing the item label: