X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ce18ecb6699bdb443cafa0f019df65962d4079e..2fb18bf45bcf391a8eb973886072dc67893e9bbe:/src/msw/statbr95.cpp diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index 302991e944..82773a5d17 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "statbr95.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -277,6 +273,10 @@ bool wxStatusBar95::GetFieldRect(int i, wxRect& rect) const return true; } +#ifndef SWP_NOSENDCHANGING +#define SWP_NOSENDCHANGING 0 +#endif + void wxStatusBar95::DoMoveWindow(int x, int y, int width, int height) { if ( GetParent()->IsSizeDeferred() ) @@ -342,6 +342,7 @@ void wxStatusBar95::SetStatusStyles(int n, const int styles[]) WXLRESULT wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) { +#ifndef __WXWINCE__ if ( nMsg == WM_WINDOWPOSCHANGING ) { WINDOWPOS *lpPos = (WINDOWPOS *)lParam; @@ -359,6 +360,7 @@ wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) return 0; } + if ( nMsg == WM_NCLBUTTONDOWN ) { // if hit-test is on gripper then send message to TLW to begin @@ -379,6 +381,7 @@ wxStatusBar95::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) } } } +#endif return wxStatusBarBase::MSWWindowProc(nMsg, wParam, lParam); }