removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -299,14 +299,11 @@ inline bool wxIsCtrlDown()
|
||||
inline RECT wxGetWindowRect(HWND hwnd)
|
||||
{
|
||||
RECT rect;
|
||||
#ifdef __WIN16__
|
||||
::GetWindowRect(hwnd, &rect);
|
||||
#else // Win32
|
||||
|
||||
if ( !::GetWindowRect(hwnd, &rect) )
|
||||
{
|
||||
wxLogLastError(_T("GetWindowRect"));
|
||||
}
|
||||
#endif // Win16/32
|
||||
|
||||
return rect;
|
||||
}
|
||||
@@ -314,14 +311,11 @@ inline RECT wxGetWindowRect(HWND hwnd)
|
||||
inline RECT wxGetClientRect(HWND hwnd)
|
||||
{
|
||||
RECT rect;
|
||||
#ifdef __WIN16__
|
||||
::GetClientRect(hwnd, &rect);
|
||||
#else // Win32
|
||||
|
||||
if ( !::GetClientRect(hwnd, &rect) )
|
||||
{
|
||||
wxLogLastError(_T("GetClientRect"));
|
||||
}
|
||||
#endif // Win16/32
|
||||
|
||||
return rect;
|
||||
}
|
||||
|
Reference in New Issue
Block a user