From c282a7a1feb5c0d3e25a091745a65026ae4e6472 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Fri, 6 May 2005 15:41:32 +0000 Subject: [PATCH 1/1] Compilation fix for USE_UNIV=1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/private.h | 3 ++- src/msw/window.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index f974941a37..be6d9305ad 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -28,6 +28,7 @@ class WXDLLEXPORT wxFont; class WXDLLEXPORT wxWindow; +class WXDLLEXPORT wxWindowBase; // --------------------------------------------------------------------------- // private constants @@ -702,7 +703,7 @@ inline bool wxStyleHasBorder(long style) } // Deferred window moving -bool wxMoveWindowDeferred(HDWP& hdwp, wxWindow* win, HWND hWnd, int x, int y, int width, int height); +bool wxMoveWindowDeferred(HDWP& hdwp, wxWindowBase* win, HWND hWnd, int x, int y, int width, int height); // ---------------------------------------------------------------------------- // functions mapping HWND to wxWindow diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 6e4f99c390..9048400d30 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -5969,7 +5969,7 @@ bool wxWindowMSW::HandleHotKey(WXWPARAM wParam, WXLPARAM lParam) #endif // wxUSE_HOTKEY // Moves a window by deferred method or normal method -bool wxMoveWindowDeferred(HDWP& hdwp, wxWindow* win, HWND hWnd, int x, int y, int width, int height) +bool wxMoveWindowDeferred(HDWP& hdwp, wxWindowBase* win, HWND hWnd, int x, int y, int width, int height) { if ( hdwp ) { -- 2.45.2