-void MyTaskBarIcon::OnMenuSetOldIcon(wxCommandEvent&)
-{
- wxIcon icon(wxT("wxDEFAULT_FRAME"));
-
- if (!RemoveIcon())
- wxMessageBox(wxT("Could not restore old icon."));
-}
-
-#if defined( __WXMAC__ ) && TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 )
-
-void MyTaskBarIcon::OnMenuOpenDrawer(wxCommandEvent&)
-{
- m_pMyDrawer->Open(true);
-}
-
-void MyTaskBarIcon::OnMenuCloseDrawer(wxCommandEvent&)
-{
- m_pMyDrawer->Close();
-}
-
-void MyTaskBarIcon::OnMenuLeftDrawer(wxCommandEvent&)
-{
- m_pMyDrawer->SetPreferredEdge(wxLEFT);
-}
-
-void MyTaskBarIcon::OnMenuRightDrawer(wxCommandEvent&)
-{
- m_pMyDrawer->SetPreferredEdge(wxRIGHT);
-}
-
-void MyTaskBarIcon::OnMenuTopDrawer(wxCommandEvent&)
-{
- m_pMyDrawer->SetPreferredEdge(wxTOP);
-}
-
-void MyTaskBarIcon::OnMenuBottomDrawer(wxCommandEvent&)
-{
- m_pMyDrawer->SetPreferredEdge(wxBOTTOM);
-}
-#endif
-