Włodzimierz Skiba
ca65c0440a
Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Julian Smart
7e521b01c3
Added UpdateSize to wxSplitterWindow, to allow an app
...
to force pane resizing _before_ showing the window.
Added a call to UpdateSize from helpfrm.cpp. Without
this, the flicker is horrible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 13:14:54 +00:00
Robin Dunn
4395fb21f6
Delay checking for the requested sash position until the first
...
OnInternalIdle after it is set.
TRUE/FALSE --> true/false
Fixed a bug that allowed the sash cursor to be shown the the pointer
is not quite on the sash yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 23:48:41 +00:00
Vadim Zeitlin
3a818b15a1
use static_cast<> in event table macros for type safety (patch 843206)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:15:19 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Vadim Zeitlin
af99040c70
1. added flags to splitter drawing functions and replaced
...
GetSplitterBorderAndSash() with GetSplitterParams()
2. added support for "hot tracking" to wxSplitterWindow
3. added GTK2 support for the splitter to GTK renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 13:38:43 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Vadim Zeitlin
b3208e1158
virtualized splitter drawing; removed/deprecated some styles and moved others from wx/defs.h; eliminated flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:12:17 +00:00
Julian Smart
5180055b69
OnIdle -> OnInternalIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 17:15:09 +00:00
Julian Smart
91ce04cf9e
Fixed OnSetCursor for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:17:05 +00:00
Julian Smart
371a5b4e62
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 10:34:04 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Vadim Zeitlin
63ec9dbbac
don't send SPLITTER_POS_CHANGED events when the splitter position was changed from the program itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 18:10:04 +00:00
Vadim Zeitlin
153b7996e5
fixed dead update splitters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 15:08:27 +00:00
Vadim Zeitlin
74c57d1ff6
fixes to handling of 0 and negative splitter position when splitting it initially
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:48:02 +00:00
Vadim Zeitlin
3e58dcb905
various splitter fixes:
...
1. generate the events from the event handlers, thus it is now possible to
process the splitter events in the parent window
2. when double clicking the splitter which can't be unsplit it doesn't jump
by a couple of pixels
3. misc code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 21:53:52 +00:00
Václav Slavík
ca39e4095a
more fixes to wxSplitterWindow's initial sash position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:51:06 +00:00
Vadim Zeitlin
2e8cc3e834
fixes to sash adjusting code to avoid setting it to 0 initially
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:00:41 +00:00
Václav Slavík
d76ac8ed88
wxSplitterWindow now:
...
1. respects minimal size even when set programatically
2. respects minimal size of child windows if set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:48:33 +00:00
Vadim Zeitlin
9948d31f4e
changed wxControlContainer to avoid triggering tons of warnings from VC++ at
...
warning level 4 ("'this' : used in base member initializer list" is really
the stupidiest warning I've ever seen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 22:50:28 +00:00
Vadim Zeitlin
0013a77bd1
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 18:53:55 +00:00
Vadim Zeitlin
6b55490abd
1. slightly changed how wxControlContainer is used
...
2. use it now for wxSplitterWindow too
3. don't compile wxIdleEvent in !wxUSE_GUI mode (why was it done?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:55:04 +00:00
Vadim Zeitlin
dead66baf5
removed wxCLIP_CHILDREN style from wxSplitterWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 14:10:17 +00:00
Vadim Zeitlin
2e4df4bfaf
1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
...
2. moved ~50% of the event types in their own headers/sources from event.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Robert Roebling
82a5f02c86
Updated ten thousand macros for new event type code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 17:35:36 +00:00
Julian Smart
8062a6ab7b
Made some member variables protected so derived classes can use them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-02 14:45:05 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
43b5058d59
1. status bar can now be positioned on top (and anywhere, in fact)
...
2. status bar without wxST_SIZEGRIP style won't have the size grip (wow)
3. scrollbars don't get the cursor of the main window any more
4. introduced wxSetCursorEvent and use it in wxSplitterWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:45:54 +00:00
Robin Dunn
0656d2e68d
Fixed wxSplitterEvent to set it's id to be the splitter window's id so
...
events can be caught correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:12:34 +00:00
Robert Roebling
d5a07b9ec9
Various distrib things,
...
Applied patches for HP-UX compilation,
Corrected (?) vetoing of tree expansion,
Raised version.h to 2.1.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 22:36:46 +00:00
Stefan Csomor
585ae8cbc0
CW Pro 5 Adaptions (the .old.mcp are the Pro 4 Files)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-20 15:36:30 +00:00
Robert Roebling
72195a0fd2
Corrected cursors for during capture mouse.
...
Added wxSP_LIVE_UPADTE to splitter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-07 09:00:15 +00:00
Unknown (BV)
370938d99c
Added always-unsplittable style option (wxSP_PERMIT_UNSPLIT)
...
Added visual feedback on limits for sash-drag
(Fix of previous broken behaviour: now unplits only if min pane size == 0 or
if always-unsplittable style flag is used.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 16:19:06 +00:00
Vadim Zeitlin
42e69d6b43
1. wxMSW seems to work (please test and send your bug reports!)
...
2. accelerators in the menus a la GTK (actually slightly better) implemented
3. wxSplitter now uses events (and so the code which was broken by recent changes
works again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 00:53:27 +00:00
Unknown (BV)
021e7626ac
Modified OnSashPositionChange to take an int& instead of an int.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 03:04:15 +00:00
Vadim Zeitlin
3ad5e06b4a
wxSplitterWindow::ReplaceWindow() function added and documented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 13:38:12 +00:00
Vadim Zeitlin
cce4b3fe2b
made wxSplitterWindow::SplitXXX() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-27 15:17:24 +00:00
Vadim Zeitlin
0d559d69c8
1. Split{Horizontal|Vertical} now accept negative args to set the
...
size of right/lower pane (positive arg sets the size of
left/upper one as before, 0 is the same as -1 before: choose
default)
2. OnSashPositionChange() virtual function added - it may return
FALSE to cancel position change
3. splitter sample and docs (couldn't compile them though) updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-23 13:15:15 +00:00
Unknown (RO)
c67daf8777
General tidy-up (mainly typecasts) to allow the use of the SGI native
...
compilers (tested on Irix 6.5 with -mips3 -n32).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-23 03:22:56 +00:00
Julian Smart
debe6624c1
Sorry, I went and removed consts as per the style guide :-)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-04 15:17:59 +00:00
Julian Smart
565215b26a
Added wxCLIP_CHILDREN style (mainly for getting rid of flicker), other minor mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-22 22:27:14 +00:00
Karsten Ballüder
c801d85f15
Initial revision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-20 14:01:55 +00:00