]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/panel.h
Removing more CodeWarrior project files.
[wxWidgets.git] / interface / wx / panel.h
index da65a95e3ce20b7195f1f532aa4e8ff8eee7f0d7..4bf26f3f07a46db9189d9713721b6385309d6d70 100644 (file)
 
     @remarks By default, a panel has the same colouring as a dialog.
 
+    @beginEventEmissionTable{wxNavigationKeyEvent}
+    @event{EVT_NAVIGATION_KEY(func)}
+        Process a navigation key event.
+    @endEventTable
+
     @library{wxbase}
     @category{miscwnd}
 
@@ -64,12 +69,12 @@ public:
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             long style = wxTAB_TRAVERSAL,
-            const wxString& name = "panel");
+            const wxString& name = wxPanelNameStr);
 
     /**
         Destructor. Deletes any child windows before deleting the physical window.
     */
-    ~wxPanel();
+    virtual ~wxPanel();
 
     /**
         This method is overridden from wxWindow::AcceptsFocus()
@@ -86,7 +91,7 @@ public:
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxTAB_TRAVERSAL,
-                const wxString& name = "panel");
+                const wxString& name = wxPanelNameStr);
 
     /**
         Sends a wxInitDialogEvent, which in turn transfers data to the dialog via
@@ -94,7 +99,13 @@ public:
 
         @see wxInitDialogEvent
     */
-    void InitDialog();
+    virtual void InitDialog();
+
+    /**
+        See wxWindow::SetAutoLayout(): when auto layout is on, this function gets
+        called automatically when the window is resized.
+    */
+    virtual bool Layout();
 
     /**
         The default handler for wxEVT_SYS_COLOUR_CHANGED.
@@ -130,6 +141,6 @@ public:
         In contrast to SetFocus() (see above) this will set the focus to the panel
         even if there are child windows in the panel. This is only rarely needed.
     */
-    virtual void SetFocusIgnoringChildren();
+    void SetFocusIgnoringChildren();
 };