mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
FIX: destory timers & check webview consist
Change-Id: If95a973e1b3c6bf0da3611c30e0e44e191c9b06a
This commit is contained in:
parent
cd3a721f86
commit
7be639019e
8 changed files with 19 additions and 10 deletions
|
@ -28,6 +28,8 @@ private:
|
|||
|
||||
MarkdownTip();
|
||||
|
||||
~MarkdownTip();
|
||||
|
||||
void LoadStyle();
|
||||
|
||||
bool ShowTip(wxPoint pos, std::string const &tip, std::string const & tooltip);
|
||||
|
@ -48,13 +50,13 @@ private:
|
|||
void OnTimer(wxTimerEvent& event);
|
||||
|
||||
private:
|
||||
wxWebView* _tipView = NULL;
|
||||
wxWebView * _tipView = nullptr;
|
||||
std::string _lastTip;
|
||||
std::string _pendingScript = " ";
|
||||
std::string _language;
|
||||
wxPoint _requestPos;
|
||||
double _lastHeight = 0;
|
||||
wxTimer* _timer;
|
||||
wxTimer* _timer = nullptr;
|
||||
bool _hide = false;
|
||||
bool _data_dir = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue