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

@@ -3696,6 +3696,7 @@ wxWindowMSW::MSWHandleMessage(WXLRESULT *result,
}
break;
#if wxUSE_POPUPWIN
case WM_NCACTIVATE:
// When we're losing activation to our own popup window, we want to
// retain the "active" appearance of the title bar, as dropping
@@ -3712,6 +3713,7 @@ wxWindowMSW::MSWHandleMessage(WXLRESULT *result,
processed = true;
}
break;
#endif
#if wxUSE_UXTHEME
// If we want the default themed border then we need to draw it ourselves