From: Robin Dunn Date: Tue, 27 Nov 2012 01:19:31 +0000 (+0000) Subject: More interface fixes for Phoenix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c103099e3de7cb80eaa1feec73b95299b703e1d More interface fixes for Phoenix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/dataview.h b/interface/wx/dataview.h index f8bc177fab..f366299ab1 100644 --- a/interface/wx/dataview.h +++ b/interface/wx/dataview.h @@ -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 diff --git a/interface/wx/richmsgdlg.h b/interface/wx/richmsgdlg.h index 3ebedc6c6c..1fb0411d5c 100644 --- a/interface/wx/richmsgdlg.h +++ b/interface/wx/richmsgdlg.h @@ -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.