another 64 bit fix: make SendMsg() return wxIntPtr instead of long too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3571,7 +3571,7 @@ public:
|
||||
// NB: this method is not really const as it can modify the control but it
|
||||
// has to be declared as such as it's called from both const and
|
||||
// non-const methods and we can't distinguish between the two
|
||||
long SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const;
|
||||
wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const;
|
||||
|
||||
|
||||
// Set the vertical scrollbar to use instead of the ont that's built-in.
|
||||
|
@@ -224,7 +224,7 @@ wxStyledTextCtrl::~wxStyledTextCtrl() {
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
long wxStyledTextCtrl::SendMsg(int msg, wxUIntPtr wp, wxIntPtr lp) const
|
||||
wxIntPtr wxStyledTextCtrl::SendMsg(int msg, wxUIntPtr wp, wxIntPtr lp) const
|
||||
{
|
||||
return m_swx->WndProc(msg, wp, lp);
|
||||
}
|
||||
|
@@ -224,7 +224,7 @@ wxStyledTextCtrl::~wxStyledTextCtrl() {
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
long wxStyledTextCtrl::SendMsg(int msg, wxUIntPtr wp, wxIntPtr lp) const
|
||||
wxIntPtr wxStyledTextCtrl::SendMsg(int msg, wxUIntPtr wp, wxIntPtr lp) const
|
||||
{
|
||||
return m_swx->WndProc(msg, wp, lp);
|
||||
}
|
||||
|
@@ -204,7 +204,7 @@ public:
|
||||
// NB: this method is not really const as it can modify the control but it
|
||||
// has to be declared as such as it's called from both const and
|
||||
// non-const methods and we can't distinguish between the two
|
||||
long SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const;
|
||||
wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const;
|
||||
|
||||
|
||||
// Set the vertical scrollbar to use instead of the ont that's built-in.
|
||||
|
Reference in New Issue
Block a user