]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/splitter.h
Added hotkeys to menus "E&xit\tAlt-X" and such.
[wxWidgets.git] / include / wx / generic / splitter.h
index 50781e442488c5c0cad6e5cabc56908f4ec354e1..951562b148c5ccf54eb0e740c880d02cb5d113da 100644 (file)
@@ -83,17 +83,21 @@ public:
     // A sashPosition of 0 means choose a default sash position,
     // negative sashPosition specifies the size of right/lower pane as it's
     // absolute value rather than the size of left/upper pane.
-    bool SplitVertically(wxWindow *window1,
-                         wxWindow *window2,
-                         int sashPosition = 0);
-    bool SplitHorizontally(wxWindow *window1,
-                           wxWindow *window2,
-                           int sashPosition = 0);
+    virtual bool SplitVertically(wxWindow *window1,
+                                 wxWindow *window2,
+                                 int sashPosition = 0);
+    virtual bool SplitHorizontally(wxWindow *window1,
+                                   wxWindow *window2,
+                                   int sashPosition = 0);
 
     // Removes the specified (or second) window from the view
     // Doesn't actually delete the window.
     bool Unsplit(wxWindow *toRemove = (wxWindow *) NULL);
 
+    // Replaces one of the windows with another one (neither old nor new
+    // parameter should be NULL)
+    bool ReplaceWindow(wxWindow *winOld, wxWindow *winNew);
+
     // Is the window split?
     bool IsSplit() const { return (m_windowTwo != NULL); }