mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 22:02:10 +00:00
FIX: [STUDIO-2186] hide PopupWindow on alt-tab
Change-Id: Ie1bffdd9ace2c6e05979743da9f75ca2c1e87cf4 (cherry picked from commit 7ddaf5260df19c76fca82e525caca26e55732fa9)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include <vector>
|
||||
#include <functional>
|
||||
|
||||
#include "Widgets/PopupWindow.hpp"
|
||||
|
||||
#ifdef __WXMSW__
|
||||
void msw_rescale_menu(wxMenu* menu);
|
||||
@@ -392,7 +393,7 @@ private:
|
||||
// ImageTransientPopup
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class ImageTransientPopup : public wxPopupTransientWindow
|
||||
class ImageTransientPopup : public PopupWindow
|
||||
{
|
||||
public:
|
||||
ImageTransientPopup( wxWindow *parent, bool scrolled, wxBitmap bmp);
|
||||
@@ -400,7 +401,7 @@ class ImageTransientPopup : public wxPopupTransientWindow
|
||||
|
||||
void SetImage(wxBitmap bmp);
|
||||
|
||||
// wxPopupTransientWindow virtual methods are all overridden to log them
|
||||
// PopupWindow virtual methods are all overridden to log them
|
||||
virtual void Popup(wxWindow *focus = NULL) wxOVERRIDE;
|
||||
virtual void OnDismiss() wxOVERRIDE;
|
||||
virtual bool ProcessLeftDown(wxMouseEvent& event) wxOVERRIDE;
|
||||
|
||||
Reference in New Issue
Block a user