warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ebb0781f91
commit
44d5b352ae
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user