Added XRC handler for wxTimePickerCtrl.
[wxWidgets.git] / include / wx / msw / toplevel.h
index 52905cc32a5e831555331c51165578546f51bc5c..39756b355b86fa86508696b2ba3fff8f4d0b12e5 100644 (file)
@@ -77,6 +77,19 @@ public:
     virtual bool CanSetTransparent();
 
 
+    // MSW-specific methods
+    // --------------------
+
+    // Return the menu representing the "system" menu of the window. You can
+    // call wxMenu::AppendWhatever() methods on it but removing items from it
+    // is in general not a good idea.
+    //
+    // The pointer returned by this method belongs to the window and will be
+    // deleted when the window itself is, do not delete it yourself. May return
+    // NULL if getting the system menu failed.
+    wxMenu *MSWGetSystemMenu() const;
+
+
     // implementation from now on
     // --------------------------
 
@@ -214,6 +227,10 @@ private:
     void* m_activateInfo;
 #endif
 
+    // The system menu: initially NULL but can be set (once) by
+    // MSWGetSystemMenu(). Owned by this window.
+    wxMenu *m_menuSystem;
+
     DECLARE_EVENT_TABLE()
     wxDECLARE_NO_COPY_CLASS(wxTopLevelWindowMSW);
 };