From 44d5b352ae4bd753dd5d6d79e70f08816efae4af Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Aug 2001 20:13:14 +0000 Subject: [PATCH] warning fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/fdrepdlg.cpp | 2 +- src/msw/window.cpp | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/msw/fdrepdlg.cpp b/src/msw/fdrepdlg.cpp index 05df5ad616..0d34834244 100644 --- a/src/msw/fdrepdlg.cpp +++ b/src/msw/fdrepdlg.cpp @@ -345,7 +345,7 @@ wxFindReplaceDialog::~wxFindReplaceDialog() m_isShown = FALSE; // and from destroying our window - m_hWnd = NULL; + m_hWnd = (WXHWND)NULL; } bool wxFindReplaceDialog::Create(wxWindow *parent, diff --git a/src/msw/window.cpp b/src/msw/window.cpp index c9a9494c0e..73cb9e08d3 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -156,11 +156,8 @@ static void TranslateKbdEventToMouse(wxWindowMSW *win, // get the text metrics for the current font static TEXTMETRIC wxGetTextMetrics(const wxWindowMSW *win); -// check if the mouse is in the window or its child -static bool IsMouseInWindow(HWND hwnd); - // wrapper around BringWindowToTop() API -static inline wxBringWindowToTop(HWND hwnd) +static inline void wxBringWindowToTop(HWND hwnd) { #ifdef __WXMICROWIN__ // It seems that MicroWindows brings the _parent_ of the window to the top, -- 2.45.2