Vadim Zeitlin
5c299305d4
No changes, just make it easier to tweak splitter sample.
...
The sample contains disabled code for using other type of windows than
MyCanvas for the splitter children but it didn't compile any more because the
variables were declared as wxScrolledWindow. Fix this by using just wxWindow
for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 23:51:58 +00:00
Vadim Zeitlin
c0430d964d
Added wxSplitterWindow::SetSashInvisible() and IsSashInvisible().
...
Also fix handling of wxSP_NOSASH.
Closes #14074 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-08 13:23:39 +00:00
Vadim Zeitlin
e709239889
Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks.
...
Add a special symbol which is defined only if the icons and other images (e.g.
cursor) are in the separate resource files and don't need to be embedded as
XPMs in the main program.
This makes the checks more clear and more customizable as it's enough to
change wxHAS_IMAGES_IN_RESOURCES definition instead of changing many platform
checks.
Closes #14050 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-04 00:28:58 +00:00
Vadim Zeitlin
853f4764c0
Make the initial sash position work in splitter sample.
...
The initial splitter size must be set correctly when using gravity with
wxSplitterWindow as otherwise the sash would jump on first resize -- which was
exactly what happened in the splitter sample.
Add a SetSize() call to the sample with the comment explaining why is it
needed and also actually make it stick as the cached last size was not updated
before the splitter was split before.
Closes #9821 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-30 19:48:44 +00:00
Vadim Zeitlin
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Paul Cornett
52ada3cdeb
fix crash with repeated split horizontal/vertical and replace window, #11002
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-18 22:46:26 +00:00
Vadim Zeitlin
c0c133e13b
add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Francesco Montorsi
41f02b9acc
always call SetIcon() on the main frame of the sample; some small cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:01:00 +00:00
Francesco Montorsi
430bdeb55b
fix warning about function hiding by using the 'On' prefix for event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:43:45 +00:00
Vadim Zeitlin
9b8d875536
demo toggling border and 3D sash styles (last part of patch 1927817)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:46:49 +00:00
Vadim Zeitlin
45e6e6f8ab
call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Julian Smart
8adaf73353
Applied patch [ 1173244 ] splitter sample enhancement
...
Martin Rohrbach
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:36:15 +00:00
Julian Smart
77e0a6d8c3
Identifiers can't be zero
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 15:35:13 +00:00
Vadim Zeitlin
14b4c0ff12
gravity for splitter window (patch 1046105)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:19:36 +00:00
Włodzimierz Skiba
925e9792d3
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
8520f1374c
Fixes for wxUSE_STATUSBAR.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Julian Smart
8ad18dc32c
Applied [ 899616 ] Fixes to the checklst and splitter samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 21:50:16 +00:00
Julian Smart
3c2544bb70
Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
...
theming (some applications look bad without 3D borders)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:44:37 +00:00
Vadim Zeitlin
a63e17c122
added wxMirrorDC test; some warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:30:41 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Mattia Barbon
8b49ecd77a
Patch [ 688973 ] from William Gallafent: add missing wx/dc.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 21:33:43 +00:00
Vadim Zeitlin
6faed57df6
added SetSashPosition() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 13:23:53 +00:00
Vadim Zeitlin
f565a6c2f4
Unicode compilation fixes (patch from Dimitri)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:45:20 +00:00
Vadim Zeitlin
b795f9ca5f
added a menu item to toggle live splitter update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 15:09:45 +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
2f294a9c38
added the splitter event processing and also cleaned up the sample a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 18:33:30 +00:00
Mattia Barbon
4693b20c75
Unicode compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Václav Slavík
80372768e4
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 12:54:26 +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
fe31f91ccb
applied (part of) patch 433176 (reduce flicker)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 01:09:30 +00:00
Vadim Zeitlin
4a0b46a762
fixed warning about unused var
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:44:24 +00:00
Robert Roebling
33611ebbd9
Applied wxImage::Scale() patch,
...
Added testing code for wxSplitterWindow bug.
Added testing code for OnEraseBackground things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 20:03:00 +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
Ron Lee
6718d773ad
renamed splitter sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:30:04 +00:00