Fix building with wxUSE_POPUP==0

This commit is contained in:
Maarten Bent
2020-06-01 15:56:41 +02:00
parent 5fa8280fd8
commit 379cff7d19
3 changed files with 15 additions and 2 deletions

View File

@@ -2161,7 +2161,7 @@ PRectangle Window::GetMonitorRect(Point pt) {
#ifdef __WXMSW__
// Use ShowWithoutActivating instead of show.
bool wxSTCPopupBase::Show(bool show) wxOVERRIDE
bool wxSTCPopupBase::Show(bool show)
{
if ( show )
{
@@ -2179,7 +2179,7 @@ PRectangle Window::GetMonitorRect(Point pt) {
// Do not activate in response to mouse clicks on this window.
bool wxSTCPopupBase::MSWHandleMessage(WXLRESULT *res, WXUINT msg,
WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE
WXWPARAM wParam, WXLPARAM lParam)
{
if ( msg == WM_MOUSEACTIVATE )
{