WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -277,6 +277,10 @@ bool wxStatusBar95::GetFieldRect(int i, wxRect& rect) const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef SWP_NOSENDCHANGING
|
||||||
|
#define SWP_NOSENDCHANGING 0
|
||||||
|
#endif
|
||||||
|
|
||||||
void wxStatusBar95::DoMoveWindow(int x, int y, int width, int height)
|
void wxStatusBar95::DoMoveWindow(int x, int y, int width, int height)
|
||||||
{
|
{
|
||||||
if ( GetParent()->IsSizeDeferred() )
|
if ( GetParent()->IsSizeDeferred() )
|
||||||
@@ -342,6 +346,7 @@ void wxStatusBar95::SetStatusStyles(int n, const int styles[])
|
|||||||
WXLRESULT
|
WXLRESULT
|
||||||
wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
|
wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
|
||||||
{
|
{
|
||||||
|
#ifndef __WXWINCE__
|
||||||
if ( nMsg == WM_WINDOWPOSCHANGING )
|
if ( nMsg == WM_WINDOWPOSCHANGING )
|
||||||
{
|
{
|
||||||
WINDOWPOS *lpPos = (WINDOWPOS *)lParam;
|
WINDOWPOS *lpPos = (WINDOWPOS *)lParam;
|
||||||
@@ -359,6 +364,7 @@ wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( nMsg == WM_NCLBUTTONDOWN )
|
if ( nMsg == WM_NCLBUTTONDOWN )
|
||||||
{
|
{
|
||||||
// if hit-test is on gripper then send message to TLW to begin
|
// if hit-test is on gripper then send message to TLW to begin
|
||||||
@@ -379,6 +385,7 @@ wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return wxStatusBarBase::MSWWindowProc(nMsg, wParam, lParam);
|
return wxStatusBarBase::MSWWindowProc(nMsg, wParam, lParam);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user