unified wxTaskBarIcon behaviour: wxMSW version is not removed automatically when all frames are closed, it must be destroyed explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,8 +29,6 @@ class MyApp: public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit(void);
|
||||
protected:
|
||||
MyTaskBarIcon m_taskBarIcon;
|
||||
};
|
||||
|
||||
class MyDialog: public wxDialog
|
||||
@@ -38,12 +36,16 @@ class MyDialog: public wxDialog
|
||||
public:
|
||||
MyDialog(wxWindow* parent, const wxWindowID id, const wxString& title,
|
||||
const wxPoint& pos, const wxSize& size, const long windowStyle = wxDEFAULT_DIALOG_STYLE);
|
||||
~MyDialog();
|
||||
|
||||
void OnOK(wxCommandEvent& event);
|
||||
void OnExit(wxCommandEvent& event);
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
void Init(void);
|
||||
|
||||
protected:
|
||||
MyTaskBarIcon *m_taskBarIcon;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user