File: wx217.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (408 lines) | stat: -rw-r--r-- 18,087 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
<HTML>
<head><title>wxSplitterWindow</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxsplitterwindow"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx216.htm#wxspinbutton"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx218.htm#wxstaticbitmap"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxSplitterWindow</H2>
<P>
<A HREF="wx287.htm#wxsplitterwindowoverview">wxSplitterWindow overview</A><P>
This class manages up to two subwindows. The current view can be
split into two programmatically (perhaps from a menu command), and unsplit
either programmatically or via the wxSplitterWindow user interface.<P>
Appropriate 3D shading for the Windows 95 user interface is an option.<P>
<B><FONT COLOR="#FF0000">Window styles</FONT></B><P>

<TABLE>


<TR><TD VALIGN=TOP>
<B>wxSP_3D</B>
</TD>

<TD VALIGN=TOP>
Draws a 3D effect border and sash.
</TD></TR>


<TR><TD VALIGN=TOP>
<B>wxSP_BORDER</B>
</TD>

<TD VALIGN=TOP>
Draws a thin black border around the window, and a black sash.
</TD></TR>


<TR><TD VALIGN=TOP>
<B>wxSP_NOBORDER</B>
</TD>

<TD VALIGN=TOP>
No border, and a black sash.
</TD></TR>


</TABLE>
<P>
See also <A HREF="wx305.htm#windowstyles">window styles overview</A>.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx260.htm#wxwindow">wxWindow</A><BR>

<A HREF="wx85.htm#wxevthandler">wxEvtHandler</A><BR>

<A HREF="wx158.htm#wxobject">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
&lt;wx/splitter.h&gt;<P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#wxsplitterwindowconstr">wxSplitterWindow::wxSplitterWindow</A><BR>
<A HREF="#topic844">wxSplitterWindow::~wxSplitterWindow</A><BR>
<A HREF="#wxsplitterwindowcreate">wxSplitterWindow::Create</A><BR>
<A HREF="#wxsplitterwindowgetminimumpanesize">wxSplitterWindow::GetMinimumPaneSize</A><BR>
<A HREF="#wxsplitterwindowgetsashposition">wxSplitterWindow::GetSashPosition</A><BR>
<A HREF="#wxsplitterwindowgetsplitmode">wxSplitterWindow::GetSplitMode</A><BR>
<A HREF="#wxsplitterwindowgetwindow1">wxSplitterWindow::GetWindow1</A><BR>
<A HREF="#wxsplitterwindowgetwindow2">wxSplitterWindow::GetWindow2</A><BR>
<A HREF="#wxsplitterwindowinitialize">wxSplitterWindow::Initialize</A><BR>
<A HREF="#wxsplitterwindowissplit">wxSplitterWindow::IsSplit</A><BR>
<A HREF="#wxsplitterwindowondoubleclicksash">wxSplitterWindow::OnDoubleClickSash</A><BR>
<A HREF="#wxsplitterwindowonunsplit">wxSplitterWindow::OnUnsplit</A><BR>
<A HREF="#wxsplitterwindowonsashpositionchange">wxSplitterWindow::OnSashPositionChange</A><BR>
<A HREF="#wxsplitterwindowreplacewindow">wxSplitterWindow::ReplaceWindow</A><BR>
<A HREF="#wxsplitterwindowsetsashposition">wxSplitterWindow::SetSashPosition</A><BR>
<A HREF="#wxsplitterwindowsetminimumpanesize">wxSplitterWindow::SetMinimumPaneSize</A><BR>
<A HREF="#wxsplitterwindowsetsplitmode">wxSplitterWindow::SetSplitMode</A><BR>
<A HREF="#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A><BR>
<A HREF="#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A><BR>
<A HREF="#wxsplitterwindowunsplit">wxSplitterWindow::Unsplit</A><BR>
<P>

<HR>
<A NAME="wxsplitterwindowconstr"></A>
<H3>wxSplitterWindow::wxSplitterWindow</H3>
<P>
<B></B> <B>wxSplitterWindow</B>()<P>
Default constructor.<P>
<B></B> <B>wxSplitterWindow</B>(<B>wxWindow*</B><I> parent</I>, <B>wxWindowID</B><I> id</I>, <B>int </B><I>x</I>,
<B>const wxPoint&amp; </B><I>point = wxDefaultPosition</I>, <B>const wxSize&amp; </B><I>size = wxDefaultSize</I>,
<B>long </B><I>style=wxSP_3D</I>, <B>const wxString&amp;</B><I> name = "splitterWindow"</I>)<P>
Constructor for creating the window.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>parent</I><UL><UL>
The parent of the splitter window.</UL></UL>
<P>
<I>id</I><UL><UL>
The window identifier.</UL></UL>
<P>
<I>pos</I><UL><UL>
The window position.</UL></UL>
<P>
<I>size</I><UL><UL>
The window size.</UL></UL>
<P>
<I>style</I><UL><UL>
The window style. See <A HREF="wx217.htm#wxsplitterwindow">wxSplitterWindow</A>.</UL></UL>
<P>
<I>name</I><UL><UL>
The window name.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
After using this constructor, you must create either one or two subwindows
with the splitter window as parent, and then call one of <A HREF="wx217.htm#wxsplitterwindowinitialize">wxSplitterWindow::Initialize</A>,
<A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A> and <A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A> in
order to set the pane(s).<P>
You can create two windows, with one hidden when not being shown; or you can
create and delete the second pane on demand.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowinitialize">wxSplitterWindow::Initialize</A>, <A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A>,
<A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A>,
<A HREF="wx217.htm#wxsplitterwindowcreate">wxSplitterWindow::Create</A><P>

<HR>
<A NAME="topic844"></A>
<H3>wxSplitterWindow::~wxSplitterWindow</H3>
<P>
<B></B> <B>~wxSplitterWindow</B>()<P>
Destroys the wxSplitterWindow and its children.<P>

<HR>
<A NAME="wxsplitterwindowcreate"></A>
<H3>wxSplitterWindow::Create</H3>
<P>
<B>bool</B> <B>Create</B>(<B>wxWindow*</B><I> parent</I>, <B>wxWindowID</B><I> id</I>, <B>int </B><I>x</I>,
<B>const wxPoint&amp; </B><I>point = wxDefaultPosition</I>, <B>const wxSize&amp; </B><I>size = wxDefaultSize</I>,
<B>long </B><I>style=wxSP_3D</I>, <B>const wxString&amp;</B><I> name = "splitterWindow"</I>)<P>
Creation function, for two-step construction. See <A HREF="wx217.htm#wxsplitterwindowconstr">wxSplitterWindow::wxSplitterWindow</A> for
details.<P>

<HR>
<A NAME="wxsplitterwindowgetminimumpanesize"></A>
<H3>wxSplitterWindow::GetMinimumPaneSize</H3>
<P>
<B>int</B> <B>GetMinimumPaneSize</B>() <B>const</B><P>
Returns the current minimum pane size (defaults to zero).<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowsetminimumpanesize">wxSplitterWindow::SetMinimumPaneSize</A><P>

<HR>
<A NAME="wxsplitterwindowgetsashposition"></A>
<H3>wxSplitterWindow::GetSashPosition</H3>
<P>
<B>int</B> <B>GetSashPosition</B>()<P>
Returns the current sash position.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowsetsashposition">wxSplitterWindow::SetSashPosition</A><P>

<HR>
<A NAME="wxsplitterwindowgetsplitmode"></A>
<H3>wxSplitterWindow::GetSplitMode</H3>
<P>
<B>int</B> <B>GetSplitMode</B>() <B>const</B><P>
Gets the split mode.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowsetsplitmode">wxSplitterWindow::SetSplitMode</A>, <A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A>,
<A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A>.<P>

<HR>
<A NAME="wxsplitterwindowgetwindow1"></A>
<H3>wxSplitterWindow::GetWindow1</H3>
<P>
<B>wxWindow*</B> <B>GetWindow1</B>() <B>const</B><P>
Returns the left/top or only pane.<P>

<HR>
<A NAME="wxsplitterwindowgetwindow2"></A>
<H3>wxSplitterWindow::GetWindow2</H3>
<P>
<B>wxWindow*</B> <B>GetWindow2</B>() <B>const</B><P>
Returns the right/bottom pane.<P>

<HR>
<A NAME="wxsplitterwindowinitialize"></A>
<H3>wxSplitterWindow::Initialize</H3>
<P>
<B>void</B> <B>Initialize</B>(<B>wxWindow* </B><I>window</I>)<P>
Initializes the splitter window to have one pane.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>window</I><UL><UL>
The pane for the unsplit window.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
This should be called if you wish to initially view only a single pane in the splitter window.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A>,
<A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A><P>

<HR>
<A NAME="wxsplitterwindowissplit"></A>
<H3>wxSplitterWindow::IsSplit</H3>
<P>
<B>bool</B> <B>IsSplit</B>() <B>const</B><P>
Returns TRUE if the window is split, FALSE otherwise.<P>

<HR>
<A NAME="wxsplitterwindowondoubleclicksash"></A>
<H3>wxSplitterWindow::OnDoubleClickSash</H3>
<P>
<B>virtual void</B> <B>OnDoubleClickSash</B>(<B>int </B><I>x</I>, <B>int </B><I>y</I>)<P>
Application-overridable function called when the sash is double-clicked with
the left mouse button.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>x</I><UL><UL>
The x position of the mouse cursor.</UL></UL>
<P>
<I>y</I><UL><UL>
The y position of the mouse cursor.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
The default implementation of this function calls <A HREF="wx217.htm#wxsplitterwindowunsplit">Unsplit</A> if
the minimum pane size is zero.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowunsplit">wxSplitterWindow::Unsplit</A><P>

<HR>
<A NAME="wxsplitterwindowonunsplit"></A>
<H3>wxSplitterWindow::OnUnsplit</H3>
<P>
<B>virtual void</B> <B>OnUnsplit</B>(<B>wxWindow* </B><I>removed</I>)<P>
Application-overridable function called when the window is unsplit, either
programmatically or using the wxSplitterWindow user interface.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>removed</I><UL><UL>
The window being removed.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
The default implementation of this function simply hides <I>removed</I>. You
may wish to delete the window.<P>

<HR>
<A NAME="wxsplitterwindowonsashpositionchange"></A>
<H3>wxSplitterWindow::OnSashPositionChange</H3>
<P>
<B>virtual bool</B> <B>OnSashPositionChange</B>(<B>int </B><I>newSashPosition</I>)<P>
Application-overridable function called when the sash position is changed by 
user. It may return FALSE to prevent the change or TRUE to allow it.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>newSashPosition</I><UL><UL>
The new sash position (always positive or zero)</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
The default implementation of this function verifies that the sizes of both 
panes of the splitter are greater than minimum pane size.<P>

<HR>
<A NAME="wxsplitterwindowreplacewindow"></A>
<H3>wxSplitterWindow::ReplaceWindow</H3>
<P>
<B>bool</B> <B>ReplaceWindow</B>(<B>wxWindow * </B><I>winOld</I>, <B>wxWindow * </B><I>winNew</I>)<P>
This function replaces one of the windows managed by the wxSplitterWindow with
another one. It is in general better to use it instead of calling Unsplit()
and then resplitting the window back because it will provoke much less flicker
(if any). It is valid to call this function whether the splitter has two
windows or only one.<P>
Both parameters should be non NULL and <I>winOld</I> must specify one of the
windows managed by the splitter. If the parameters are incorrect or the window
couldn't be replaced, FALSE is returned. Otherwise the function will return
TRUE, but please notice that it will not delete the replaced window and you
may wish to do it yourself.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowgetminimumpanesize">wxSplitterWindow::GetMinimumPaneSize</A><P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowunsplit">wxSplitterWindow::Unsplit</A><BR>

<A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A><BR>

<A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A><P>

<HR>
<A NAME="wxsplitterwindowsetsashposition"></A>
<H3>wxSplitterWindow::SetSashPosition</H3>
<P>
<B>void</B> <B>SetSashPosition</B>(<B>int </B><I>position</I>, <B>const bool</B><I> redraw = TRUE</I>)<P>
Sets the sash position.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>position</I><UL><UL>
The sash position in pixels.</UL></UL>
<P>
<I>redraw</I><UL><UL>
If TRUE, resizes the panes and redraws the sash and border.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
Does not currently check for an out-of-range value.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowgetsashposition">wxSplitterWindow::GetSashPosition</A><P>

<HR>
<A NAME="wxsplitterwindowsetminimumpanesize"></A>
<H3>wxSplitterWindow::SetMinimumPaneSize</H3>
<P>
<B>void</B> <B>SetMinimumPaneSize</B>(<B>int </B><I>paneSize</I>)<P>
Sets the minimum pane size.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>paneSize</I><UL><UL>
Minimum pane size in pixels.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
The default minimum pane size is zero, which means that either pane can be reduced to zero by dragging
the sash, thus removing one of the panes. To prevent this behaviour (and veto out-of-range sash dragging),
set a minimum size, for example 20 pixels.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowgetminimumpanesize">wxSplitterWindow::GetMinimumPaneSize</A><P>

<HR>
<A NAME="wxsplitterwindowsetsplitmode"></A>
<H3>wxSplitterWindow::SetSplitMode</H3>
<P>
<B>void</B> <B>SetSplitMode</B>(<B>int </B><I>mode</I>)<P>
Sets the split mode.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>mode</I><UL><UL>
Can be wxSPLIT_VERTICAL or wxSPLIT_HORIZONTAL.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
Only sets the internal variable; does not update the display.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowgetsplitmode">wxSplitterWindow::GetSplitMode</A>, <A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A>,
<A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A>.<P>

<HR>
<A NAME="wxsplitterwindowsplithorizontally"></A>
<H3>wxSplitterWindow::SplitHorizontally</H3>
<P>
<B>bool</B> <B>SplitHorizontally</B>(<B>wxWindow* </B><I>window1</I>, <B>wxWindow* </B><I>window2</I>,
 <B>int</B><I> sashPosition = 0</I>)<P>
Initializes the top and bottom panes of the splitter window.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>window1</I><UL><UL>
The top pane.</UL></UL>
<P>
<I>window2</I><UL><UL>
The bottom pane.</UL></UL>
<P>
<I>sashPosition</I><UL><UL>
The initial position of the sash. If this value is
positive, it specifies the size of the upper pane. If it's negative, it's
absolute value gives the size of the lower pane. Finally, specify 0 (default)
to choose the default position (half of the total window height).</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Return value</FONT></B><P>
TRUE if successful, FALSE otherwise (the window was already split).<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
This should be called if you wish to initially view two panes. It can also be
called at any subsequent time, but the application should check that the
window is not currently split using <A HREF="wx217.htm#wxsplitterwindowissplit">IsSplit</A>.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A>, <A HREF="wx217.htm#wxsplitterwindowissplit">wxSplitterWindow::IsSplit</A>,
<A HREF="wx217.htm#wxsplitterwindowunsplit">wxSplitterWindow::Unsplit</A><P>

<HR>
<A NAME="wxsplitterwindowsplitvertically"></A>
<H3>wxSplitterWindow::SplitVertically</H3>
<P>
<B>bool</B> <B>SplitVertically</B>(<B>wxWindow* </B><I>window1</I>, <B>wxWindow* </B><I>window2</I>,
 <B>int</B><I> sashPosition = 0</I>)<P>
Initializes the left and right panes of the splitter window.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>window1</I><UL><UL>
The left pane.</UL></UL>
<P>
<I>window2</I><UL><UL>
The right pane.</UL></UL>
<P>
<I>sashPosition</I><UL><UL>
The initial position of the sash. If this value is
positive, it specifies the size of the left pane. If it's negative, it's
absolute value gives the size of the right pane. Finally, specify 0 (default)
to choose the default position (half of the total window width).</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Return value</FONT></B><P>
TRUE if successful, FALSE otherwise (the window was already split).<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
This should be called if you wish to initially view two panes. It can also be called at any subsequent time,
but the application should check that the window is not currently split using <A HREF="wx217.htm#wxsplitterwindowissplit">IsSplit</A>.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A>, <A HREF="wx217.htm#wxsplitterwindowissplit">wxSplitterWindow::IsSplit</A>,
<A HREF="wx217.htm#wxsplitterwindowunsplit">wxSplitterWindow::Unsplit</A>.<P>

<HR>
<A NAME="wxsplitterwindowunsplit"></A>
<H3>wxSplitterWindow::Unsplit</H3>
<P>
<B>bool</B> <B>Unsplit</B>(<B>wxWindow* </B><I>toRemove = NULL</I>)<P>
Unsplits the window.<P>
<B><FONT COLOR="#FF0000">Parameters</FONT></B><P>
<I>toRemove</I><UL><UL>
The pane to remove, or NULL to remove the right or bottom pane.</UL></UL>
<P>
<B><FONT COLOR="#FF0000">Return value</FONT></B><P>
TRUE if successful, FALSE otherwise (the window was not split).<P>
<B><FONT COLOR="#FF0000">Remarks</FONT></B><P>
This call will not actually delete the pane being removed; it calls <A HREF="wx217.htm#wxsplitterwindowonunsplit">OnUnsplit</A>
which can be overridden for the desired behaviour. By default, the pane being removed is hidden.<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx217.htm#wxsplitterwindowsplithorizontally">wxSplitterWindow::SplitHorizontally</A>, <A HREF="wx217.htm#wxsplitterwindowsplitvertically">wxSplitterWindow::SplitVertically</A>,
<A HREF="wx217.htm#wxsplitterwindowissplit">wxSplitterWindow::IsSplit</A>, <A HREF="wx217.htm#wxsplitterwindowonunsplit">wxSplitterWindow::OnUnsplit</A><P>
<P>

</BODY></HTML>