]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
Inversed slider and wrapper for datepicker control on PalmOS. WinHandle instead of...
[wxWidgets.git] / src / msw / treectrl.cpp
index bf8cc72ded5799742f3fc745df4c32273055eef1..a9161772483a84b5eaf4cb70920e698081d30d3d 100644 (file)
@@ -926,7 +926,7 @@ bool wxTreeCtrl::SetForegroundColour(const wxColour &colour)
 
 wxString wxTreeCtrl::GetItemText(const wxTreeItemId& item) const
 {
-    wxCHECK_MSG( item.IsOk(), wxT(""), wxT("invalid tree item") );
+    wxCHECK_MSG( item.IsOk(), wxEmptyString, wxT("invalid tree item") );
 
     wxChar buf[512];  // the size is arbitrary...
 
@@ -2903,7 +2903,7 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
                 wxASSERT_MSG( !m_dragImage, _T("starting to drag once again?") );
 
                 m_dragImage = new wxDragImage(*this, event.m_item);
-                m_dragImage->BeginDrag(wxPoint(0, 0), this);
+                m_dragImage->BeginDrag(wxPoint(), this);
                 m_dragImage->Show();
             }
             break;