]> git.saurik.com Git - wxWidgets.git/commitdiff
rename wxGrid::SendSizeEvent() to SendGridSizeEvent() to avoid warnings about conflic...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 May 2009 22:59:58 +0000 (22:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 May 2009 22:59:58 +0000 (22:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/grid.h
include/wx/generic/private/grid.h
src/generic/grid.cpp

index 9490b030c8f53d9db8f453b8251a2ac1a2e0f640..7fd7dd7b1271d2abebdd2ded39eb6a9c27c50b3e 100644 (file)
@@ -1972,9 +1972,9 @@ protected:
         { return SendEvent(evtType, m_currentCellCoords, s); }
 
     // send wxEVT_GRID_{ROW,COL}_SIZE
         { return SendEvent(evtType, m_currentCellCoords, s); }
 
     // send wxEVT_GRID_{ROW,COL}_SIZE
-    void SendSizeEvent(wxEventType type,
-                       int row, int col,
-                       const wxMouseEvent& mouseEv);
+    void SendGridSizeEvent(wxEventType type,
+                           int row, int col,
+                           const wxMouseEvent& mouseEv);
 
     void OnPaint( wxPaintEvent& );
     void OnSize( wxSizeEvent& );
 
     void OnPaint( wxPaintEvent& );
     void OnSize( wxSizeEvent& );
index d0a284428429885e13f59350358353866c53e30f..4718828012fc5af10d66a43011644b329de556ce 100644 (file)
@@ -200,7 +200,7 @@ private:
         // can't do anything else here
         wxMouseEvent e;
         e.SetState(wxGetMouseState());
         // can't do anything else here
         wxMouseEvent e;
         e.SetState(wxGetMouseState());
-        GetOwner()->SendSizeEvent(wxEVT_GRID_COL_SIZE, -1, idx, e);
+        GetOwner()->SendGridSizeEvent(wxEVT_GRID_COL_SIZE, -1, idx, e);
     }
 
     // overridden to react to the columns order changes in the customization
     }
 
     // overridden to react to the columns order changes in the customization
index c11346662edeb4f95438f9df4dcde6ea8a2bcca6..b39338c47054b63fad2a46bd9c3fb74072674f0f 100644 (file)
@@ -2973,7 +2973,7 @@ void wxGrid::ProcessRowLabelMouseEvent( wxMouseEvent& event )
             // TODO: generate RESIZING event, see #10754
             AutoSizeRowLabelSize( row );
 
             // TODO: generate RESIZING event, see #10754
             AutoSizeRowLabelSize( row );
 
-            SendSizeEvent(wxEVT_GRID_ROW_SIZE, row, -1, event);
+            SendGridSizeEvent(wxEVT_GRID_ROW_SIZE, row, -1, event);
 
             ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
             m_dragLastPos = -1;
 
             ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
             m_dragLastPos = -1;
@@ -3319,7 +3319,7 @@ void wxGrid::ProcessColLabelMouseEvent( wxMouseEvent& event )
             // TODO: generate RESIZING event, see #10754
             AutoSizeColLabelSize( colEdge );
 
             // TODO: generate RESIZING event, see #10754
             AutoSizeColLabelSize( colEdge );
 
-            SendSizeEvent(wxEVT_GRID_COL_SIZE, -1, colEdge, event);
+            SendGridSizeEvent(wxEVT_GRID_COL_SIZE, -1, colEdge, event);
 
             ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
             m_dragLastPos = -1;
 
             ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, GetColLabelWindow());
             m_dragLastPos = -1;
@@ -3995,7 +3995,7 @@ void wxGrid::DoEndDragResizeRow(const wxMouseEvent& event)
     // TODO: generate RESIZING event, see #10754
 
     if ( DoEndDragResizeLine(wxGridRowOperations()) )
     // TODO: generate RESIZING event, see #10754
 
     if ( DoEndDragResizeLine(wxGridRowOperations()) )
-        SendSizeEvent(wxEVT_GRID_ROW_SIZE, m_dragRowOrCol, -1, event);
+        SendGridSizeEvent(wxEVT_GRID_ROW_SIZE, m_dragRowOrCol, -1, event);
 }
 
 void wxGrid::DoEndDragResizeCol(const wxMouseEvent& event)
 }
 
 void wxGrid::DoEndDragResizeCol(const wxMouseEvent& event)
@@ -4003,7 +4003,7 @@ void wxGrid::DoEndDragResizeCol(const wxMouseEvent& event)
     // TODO: generate RESIZING event, see #10754
 
     if ( DoEndDragResizeLine(wxGridColumnOperations()) )
     // TODO: generate RESIZING event, see #10754
 
     if ( DoEndDragResizeLine(wxGridColumnOperations()) )
-        SendSizeEvent(wxEVT_GRID_COL_SIZE, -1, m_dragRowOrCol, event);
+        SendGridSizeEvent(wxEVT_GRID_COL_SIZE, -1, m_dragRowOrCol, event);
 }
 
 void wxGrid::DoStartMoveCol(int col)
 }
 
 void wxGrid::DoStartMoveCol(int col)
@@ -4182,7 +4182,7 @@ wxGrid::DoAppendLines(bool (wxGridTableBase::*funcAppend)(size_t),
 // ----------------------------------------------------------------------------
 
 void
 // ----------------------------------------------------------------------------
 
 void
-wxGrid::SendSizeEvent(wxEventType type,
+wxGrid::SendGridSizeEvent(wxEventType type,
                       int row, int col,
                       const wxMouseEvent& mouseEv)
 {
                       int row, int col,
                       const wxMouseEvent& mouseEv)
 {