warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -345,7 +345,7 @@ wxFindReplaceDialog::~wxFindReplaceDialog()
|
|||||||
m_isShown = FALSE;
|
m_isShown = FALSE;
|
||||||
|
|
||||||
// and from destroying our window
|
// and from destroying our window
|
||||||
m_hWnd = NULL;
|
m_hWnd = (WXHWND)NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxFindReplaceDialog::Create(wxWindow *parent,
|
bool wxFindReplaceDialog::Create(wxWindow *parent,
|
||||||
|
@@ -156,11 +156,8 @@ static void TranslateKbdEventToMouse(wxWindowMSW *win,
|
|||||||
// get the text metrics for the current font
|
// get the text metrics for the current font
|
||||||
static TEXTMETRIC wxGetTextMetrics(const wxWindowMSW *win);
|
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
|
// wrapper around BringWindowToTop() API
|
||||||
static inline wxBringWindowToTop(HWND hwnd)
|
static inline void wxBringWindowToTop(HWND hwnd)
|
||||||
{
|
{
|
||||||
#ifdef __WXMICROWIN__
|
#ifdef __WXMICROWIN__
|
||||||
// It seems that MicroWindows brings the _parent_ of the window to the top,
|
// It seems that MicroWindows brings the _parent_ of the window to the top,
|
||||||
|
Reference in New Issue
Block a user