Switch back to not using wxPopupWindow since wxMSW's version can't
handle it... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -701,8 +701,8 @@ END_EVENT_TABLE()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// #undef wxSTC_USE_POPUP
|
#undef wxSTC_USE_POPUP
|
||||||
// #define wxSTC_USE_POPUP 0
|
#define wxSTC_USE_POPUP 0 // wxPopupWindow just doesn't work well in this case...
|
||||||
|
|
||||||
// A window to place the listbox upon. If wxPopupWindow is supported then
|
// A window to place the listbox upon. If wxPopupWindow is supported then
|
||||||
// that will be used so the listbox can extend beyond the client area of the
|
// that will be used so the listbox can extend beyond the client area of the
|
||||||
|
@@ -110,7 +110,7 @@ public:
|
|||||||
CaptureMouse();
|
CaptureMouse();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ReleaseMouse();
|
if (HasCapture()) ReleaseMouse();
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
@@ -701,8 +701,8 @@ END_EVENT_TABLE()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// #undef wxSTC_USE_POPUP
|
#undef wxSTC_USE_POPUP
|
||||||
// #define wxSTC_USE_POPUP 0
|
#define wxSTC_USE_POPUP 0 // wxPopupWindow just doesn't work well in this case...
|
||||||
|
|
||||||
// A window to place the listbox upon. If wxPopupWindow is supported then
|
// A window to place the listbox upon. If wxPopupWindow is supported then
|
||||||
// that will be used so the listbox can extend beyond the client area of the
|
// that will be used so the listbox can extend beyond the client area of the
|
||||||
|
@@ -110,7 +110,7 @@ public:
|
|||||||
CaptureMouse();
|
CaptureMouse();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ReleaseMouse();
|
if (HasCapture()) ReleaseMouse();
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user