]> git.saurik.com Git - wxWidgets.git/commitdiff
More interface fixes for Phoenix
authorRobin Dunn <robin@alldunn.com>
Tue, 27 Nov 2012 01:19:31 +0000 (01:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 27 Nov 2012 01:19:31 +0000 (01:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/dataview.h
interface/wx/richmsgdlg.h

index f8bc177fabe4d8c2ed8b8bc474306d6e02212d1a..f366299ab16d94359dcf004d7fd0af18b04c1f71 100644 (file)
@@ -2177,15 +2177,26 @@ public:
     virtual bool HasEditorCtrl() const;
 
     /**
-        Override this to react to a left click.
-        This method will only be called in @c wxDATAVIEW_CELL_ACTIVATABLE mode.
+        Override this to react to a left click.  This method will only be
+        called in @c wxDATAVIEW_CELL_ACTIVATABLE mode.  This method is
+        deprecated, please use ActivateCell instead.
     */
-    virtual bool LeftClick( const wxPoint& cursor,
-                            const wxRect& cell,
+    virtual bool LeftClick( wxPoint cursor,
+                            wxRect cell,
                             wxDataViewModel * model,
                             const wxDataViewItem & item,
                             unsigned int col );
 
+    /**
+       Override this to react to the activation of a cell.  This method is
+       deprecated, please use ActivateCell instead.
+    */
+    virtual bool Activate(wxRect cell,
+                          wxDataViewModel * model,
+                          const wxDataViewItem & item,
+                          unsigned int col);
+
+
     /**
         Override this to render the cell.
         Before this is called, wxDataViewRenderer::SetValue was called
index 3ebedc6c6c2d76ad411f339ad94a64061b977886..1fb0411d5c24731286890c11a0ac9c9b84eca88b 100644 (file)
@@ -67,8 +67,7 @@ public:
     wxRichMessageDialog(wxWindow* parent,
                         const wxString& message,
                         const wxString& caption = wxMessageBoxCaptionStr,
-                        long style = wxOK | wxCENTRE,
-                        const wxPoint& pos = wxDefaultPosition);
+                        long style = wxOK | wxCENTRE);
 
     /**
         Shows a checkbox with a given label or hides it.