projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't pass negative height to wxWindow::SetSize(), this results in GTK+ warnings
[wxWidgets.git]
/
src
/
msw
/
helpwin.cpp
diff --git
a/src/msw/helpwin.cpp
b/src/msw/helpwin.cpp
index edb293ca0f664071cb1c706378d3909c5f25e45c..e33ad6c8de11f64d02ba42a8d35f494333cffc6c 100644
(file)
--- a/
src/msw/helpwin.cpp
+++ b/
src/msw/helpwin.cpp
@@
-98,13
+98,14
@@
bool wxWinHelpController::KeywordSearch(const wxString& k,
wxString str = GetValidFilename(m_helpFile);
wxString str = GetValidFilename(m_helpFile);
- return (WinHelp(GetSuitableHWND(this), str.wx_str(), HELP_PARTIALKEY, (DWORD)k.wx_str()) != 0);
+ return WinHelp(GetSuitableHWND(this), str.wx_str(), HELP_PARTIALKEY,
+ (ULONG_PTR)k.wx_str()) != 0;
}
// Can't close the help window explicitly in WinHelp
bool wxWinHelpController::Quit(void)
{
}
// Can't close the help window explicitly in WinHelp
bool wxWinHelpController::Quit(void)
{
- return
(WinHelp(GetSuitableHWND(this), 0, HELP_QUIT, 0L) != 0)
;
+ return
WinHelp(GetSuitableHWND(this), 0, HELP_QUIT, 0) != 0
;
}
// Append extension if necessary.
}
// Append extension if necessary.