]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for USE_UNIV=1
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 6 May 2005 15:41:32 +0000 (15:41 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 6 May 2005 15:41:32 +0000 (15:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/private.h
src/msw/window.cpp

index f974941a3729233d212058c940a94a94d6553180..be6d9305ad336b3a36ea3be24ed151d31044dd7b 100644 (file)
@@ -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
index 6e4f99c3908a9fe95f3417e860bdf5b696bf1c1a..9048400d3005d8e816304e0ce24459c01aa85f7d 100644 (file)
@@ -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 )
     {