]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dnd/dnd.cpp
Allow associating a validator with wxGridCellTextEditor.
[wxWidgets.git] / samples / dnd / dnd.cpp
index 2109640761917dc2e6b40f9fdbaebd796f563b5c..7987e5fab03d1789d1d60cb25c2bda524bab81f1 100644 (file)
@@ -1022,7 +1022,7 @@ DnDFrame::DnDFrame()
     m_ctrlDir->Connect
     (
         wxID_ANY,
     m_ctrlDir->Connect
     (
         wxID_ANY,
-        wxEVT_COMMAND_TREE_BEGIN_DRAG,
+        wxEVT_TREE_BEGIN_DRAG,
         wxTreeEventHandler(DnDFrame::OnBeginDrag),
         NULL,
         this
         wxTreeEventHandler(DnDFrame::OnBeginDrag),
         NULL,
         this