Make ConvertPixelsToDialog() and ConvertDialogToPixels() const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2461,7 +2461,7 @@ void wxWindowBase::DoUpdateWindowUI(wxUpdateUIEvent& event)
|
||||
// dialog units translations
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxPoint wxWindowBase::ConvertPixelsToDialog(const wxPoint& pt)
|
||||
wxPoint wxWindowBase::ConvertPixelsToDialog(const wxPoint& pt) const
|
||||
{
|
||||
wxPoint pt2 = wxDefaultPosition;
|
||||
if (pt.x != wxDefaultCoord)
|
||||
@@ -2472,7 +2472,7 @@ wxPoint wxWindowBase::ConvertPixelsToDialog(const wxPoint& pt)
|
||||
return pt2;
|
||||
}
|
||||
|
||||
wxPoint wxWindowBase::ConvertDialogToPixels(const wxPoint& pt)
|
||||
wxPoint wxWindowBase::ConvertDialogToPixels(const wxPoint& pt) const
|
||||
{
|
||||
wxPoint pt2 = wxDefaultPosition;
|
||||
if (pt.x != wxDefaultCoord)
|
||||
|
Reference in New Issue
Block a user