WinCE warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -553,10 +553,10 @@ void wxDC::Clear()
|
||||
::FillRect(GetHdc(), &rect, brush);
|
||||
::DeleteObject(brush);
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
int width = DeviceToLogicalXRel(VIEWPORT_EXTENT)*m_signX,
|
||||
height = DeviceToLogicalYRel(VIEWPORT_EXTENT)*m_signY;
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
::SetMapMode(GetHdc(), MM_ANISOTROPIC);
|
||||
|
||||
::SetViewportExtEx(GetHdc(), VIEWPORT_EXTENT, VIEWPORT_EXTENT, NULL);
|
||||
|
@@ -1383,6 +1383,8 @@ void wxWindowMSW::DragAcceptFiles(bool accept)
|
||||
HWND hWnd = GetHwnd();
|
||||
if ( hWnd )
|
||||
::DragAcceptFiles(hWnd, (BOOL)accept);
|
||||
#else
|
||||
wxUnusedVar(accept);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -3529,6 +3531,7 @@ bool wxWindowMSW::HandleInitDialog(WXHWND WXUNUSED(hWndFocus))
|
||||
bool wxWindowMSW::HandleDropFiles(WXWPARAM wParam)
|
||||
{
|
||||
#if defined (__WXMICROWIN__) || defined(__WXWINCE__)
|
||||
wxUnusedVar(wParam);
|
||||
return false;
|
||||
#else // __WXMICROWIN__
|
||||
HDROP hFilesInfo = (HDROP) wParam;
|
||||
|
Reference in New Issue
Block a user