]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
Added back the missing Undo/Redo accelerators that unaccountably
[wxWidgets.git] / include / wx / univ / toplevel.h
index ed977de59e1ff1dd52bfdb1fc8bc07b485dcaa68..4a15051a464f72b34ff42bccc163ef44e13e30d8 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "wx/univ/inpcons.h"
 #include "wx/univ/inphand.h"
+#include "wx/icon.h"
 
 // ----------------------------------------------------------------------------
 // constants
@@ -123,7 +124,8 @@ public:
     virtual wxPoint GetClientAreaOrigin() const;
     virtual void DoGetClientSize(int *width, int *height) const;
     virtual void DoSetClientSize(int width, int height);
-    virtual void SetIcon(const wxIcon& icon);
+    virtual void SetIcon(const wxIcon& icon) { SetIcons( wxIconBundle( icon ) ); }
+    virtual void SetIcons(const wxIconBundle& icons);
 
     // implementation from now on
     // --------------------------
@@ -155,6 +157,7 @@ protected:
 
     void RefreshTitleBar();
     void OnNcPaint(wxPaintEvent& event);
+    void OnSystemMenu(wxCommandEvent& event);
 
     // TRUE if wxTLW should render decorations (aka titlebar) itself
     static int ms_drawDecorations;