mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
FIX: [STUDIO-2186] hide PopupWindow on alt-tab
Change-Id: Ie1bffdd9ace2c6e05979743da9f75ca2c1e87cf3
This commit is contained in:
parent
6faecbf718
commit
81dea77932
23 changed files with 139 additions and 70 deletions
|
@ -1048,9 +1048,9 @@ void BlinkingBitmap::blink()
|
|||
}
|
||||
|
||||
|
||||
wxIMPLEMENT_CLASS(ImageTransientPopup,wxPopupTransientWindow);
|
||||
wxIMPLEMENT_CLASS(ImageTransientPopup,PopupWindow);
|
||||
|
||||
wxBEGIN_EVENT_TABLE(ImageTransientPopup,wxPopupTransientWindow)
|
||||
wxBEGIN_EVENT_TABLE(ImageTransientPopup,PopupWindow)
|
||||
EVT_MOUSE_EVENTS( ImageTransientPopup::OnMouse )
|
||||
EVT_SIZE( ImageTransientPopup::OnSize )
|
||||
EVT_SET_FOCUS( ImageTransientPopup::OnSetFocus )
|
||||
|
@ -1058,7 +1058,7 @@ wxBEGIN_EVENT_TABLE(ImageTransientPopup,wxPopupTransientWindow)
|
|||
wxEND_EVENT_TABLE()
|
||||
|
||||
ImageTransientPopup::ImageTransientPopup( wxWindow *parent, bool scrolled, wxBitmap bmp)
|
||||
:wxPopupTransientWindow( parent,
|
||||
:PopupWindow( parent,
|
||||
wxBORDER_NONE |
|
||||
wxPU_CONTAINS_CONTROLS )
|
||||
{
|
||||
|
@ -1115,21 +1115,21 @@ void ImageTransientPopup::SetImage(wxBitmap bmp)
|
|||
|
||||
void ImageTransientPopup::Popup(wxWindow* WXUNUSED(focus))
|
||||
{
|
||||
wxPopupTransientWindow::Popup();
|
||||
PopupWindow::Popup();
|
||||
}
|
||||
|
||||
void ImageTransientPopup::OnDismiss()
|
||||
{
|
||||
wxPopupTransientWindow::OnDismiss();
|
||||
PopupWindow::OnDismiss();
|
||||
}
|
||||
|
||||
bool ImageTransientPopup::ProcessLeftDown(wxMouseEvent& event)
|
||||
{
|
||||
return wxPopupTransientWindow::ProcessLeftDown(event);
|
||||
return PopupWindow::ProcessLeftDown(event);
|
||||
}
|
||||
bool ImageTransientPopup::Show( bool show )
|
||||
{
|
||||
return wxPopupTransientWindow::Show(show);
|
||||
return PopupWindow::Show(show);
|
||||
}
|
||||
|
||||
void ImageTransientPopup::OnSize(wxSizeEvent &event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue