]> git.saurik.com Git - wxWidgets.git/commitdiff
made wxSplitterWindow::SplitXXX() virtual
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Jan 1999 15:17:24 +0000 (15:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Jan 1999 15:17:24 +0000 (15:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/splitter.h

index 50781e442488c5c0cad6e5cabc56908f4ec354e1..d8ffcc0f3783f382d3972459806c6eba21352f38 100644 (file)
@@ -83,12 +83,12 @@ 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.