1. dnd demo in treetest

2. compilation fix in drawing (for VC++)
3. refresh bug fixed in regtest, dnd/copying keys seems to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-15 23:57:33 +00:00
parent 5af3f0efd5
commit 5888ef1e7d
5 changed files with 111 additions and 21 deletions

View File

@@ -791,7 +791,8 @@ void MyCanvas::DrawWithLogicalOps(wxDC& dc)
dc.SetPen(wxPen(m_owner->m_colourForeground, 1, wxSOLID));
dc.SetBrush(*wxTRANSPARENT_BRUSH);
for ( size_t n = 0; n < WXSIZEOF(rasterOperations); n++ )
size_t n;
for ( n = 0; n < WXSIZEOF(rasterOperations); n++ )
{
wxCoord x = 20 + 150*(n%4),
y = 20 + 100*(n/4);
@@ -806,7 +807,7 @@ void MyCanvas::DrawWithLogicalOps(wxDC& dc)
// now some filled rectangles
dc.SetBrush(wxBrush(m_owner->m_colourForeground, wxSOLID));
for ( size_t n = 0; n < WXSIZEOF(rasterOperations); n++ )
for ( n = 0; n < WXSIZEOF(rasterOperations); n++ )
{
wxCoord x = 20 + 150*(n%4),
y = 500 + 100*(n/4);